install angular version specific 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]