change angular cli version using cmd code example
Example: change version of ng cli
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli@1.4.1
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli@1.4.1