USING NVM - Tarekdh/WIKIS_ANGULAR GitHub Wiki
STEPS
- open cmder or PowerShell (not cmd)
- run the command :
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y nvm
nvm install (Node version)
nvm list : show the list of installed node
nvm use v : tell nvm to use the version v
npm install -g @angular/cli@(version of angular cli)
| Angular version |
node version |
Angular cli version |
| 5 |
8.17.0 |
1.7.4 |
| 6 |
8.17.0 |
6.0.8 |
| 7 |
10.19.0 |
7.2.2 |
| 9 |
12.16.1 |
9.0.1 |