angular cli version latest code example
Example 1: update angular cli
For updating angular cli type this command :
ng update @angular/cli @angular/core
Example 2: install angular cli version
Install Specific Version (Example: 6.1.1)
npm install -g @angular/[email protected]