install angular version code example
Example 1: angular install
npm install -g @angular/cli
Example 2: install angular cli specific version
npm install -g @angular/[email protected]
Example 3: install angular cli specific version
npm uninstall -g angular-cli
npm cache clean
npm install -g [email protected]
Example 4: installing angular 10
$ npm install -g @angular/cli
Example 5: installing angular 10
$ cd ~
$ ng new angular-example-with-routing