-
Notifications
You must be signed in to change notification settings - Fork 0
USING NVM
Khachnaoui-Tarek edited this page Sep 21, 2021
·
8 revisions
- 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'))
- run the command :
choco install -y nvm
- run the command :
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 |