npm install -g angular-cli
ng new <app_name>
ng serve
- ng build
- ng generate (Note: Item may component, directive, route, service, pipe)
- ng test: Run unit tests with karma
- ng e2e: Run end-to-end tests with protractor
- ng get: Gets values for project
- ng set: Sets values for project
- ng github-pages:deploy: Build the app for production, setup GitHub repo, and publish
- ng lint: Run codelyzer to analyze code
- ng format
- ng doc
- ng version: Get the version of the CLI