/* @latest is optional */
npm install -g @angular/cli@latest
sudo apt update
sudo apt install nodejs
sudo npm install -g @angular/cli
sudo ng --version
# Angular CLI should now be installed :)
# install angular-cli global
npm install -g @angular/cli
# create an angular app
ng new my-app
# get angular-cli details
ng help
# get version
ng version
# run angular app
ng serve
ng new my-first-project
ng serve
//generate component:
ng g c foldername/componentname -m basemodulename
//generate module
ng g m modulename --routing
content_copy
ng help
ng generate --help