start angular project command code example

Example 1: install angular on mac

npm install -g @angular/cli

Example 2: install angular cli

npm install -g @angular/cli    //make sure you have node/npm installed 
ng new         //  eg:  ng new my-app
cd        // cd my-app
ng serve

Example 3: angular start command

http-server -a localhost -p 8000 -c-1 .

Example 4: angular new project

ng new project_name

Example 5: create new project angular

ng new 
//After this you will be given the choice to name the project, add routing, add scss/sass/css
ng new angular_project

cd angular-project
ng serve

Tags:

Misc Example