install angular using npm for specific version code example
Example 1: install angular cli specific version
npm install -g @angular/[email protected]
Example 2: install angular cli specific version
npm uninstall -g angular-cli
npm cache clean
npm install -g [email protected]