npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
sudo apt update
sudo apt install nodejs
sudo npm install -g @angular/cli
sudo ng --version
# Angular CLI should now be installed :)
npm install -g @angular/cli //make sure you have node/npm installed
ng new <appname> // eg: ng new my-app
cd <appname> // cd my-app
ng serve
npm install -g @angular/cli
ng new my-app
cd my-app
ng serve
npm i -g @angular/cli
ng new <app-name>
cd <app-name>
ng serve