install different version of angular cli code example
Example 1: install angular cli specific version
npm install -g @angular/cli@6.1.1
Example 2: install angular cli specific version
npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@1.0.0