How to generate Angular2 app scaffold using Angular CLI with flags


Install Angular CLI globally:
npm i -g @angular/cli

ng new myApp
// generate a new app in /myApp

ng new myApp --dry-run
// don't write the files but report them

ng new myApp --skip-install
// generate without running npm install