Angular Cli version change code example
Example: change version of ng cli
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/[email protected]
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/[email protected]