Common Angular CLI Commands

Feature thumb angular card

These are some of the common commands you'll use with Angular when building an app via the CLI.

New Application

ng new app-name

Running the server

ng serve

Creating a Component/Class/etc

ng generate component component-name

Creating a Nested Component/Class/etc

ng generate component component-name/nested-component-name

Building for Production

ng build