cli angular version code example
Example 1: how to check for angular cli version
ng --version
Example 2: install angular cli version
Install Specific Version (Example: 6.1.1)
npm install -g @angular/cli@6.1.1
ng --version
Install Specific Version (Example: 6.1.1)
npm install -g @angular/cli@6.1.1