https://nodejs.org/en/download/package-manager
for windown
# installs fnm (Fast Node Manager)
winget install Schniz.fnm
# configure fnm environment
fnm env --use-on-cd | Out-String | Invoke-Expression
# download and install Node.js
fnm use --install-if-missing 16
# verifies the right Node.js version is in the environment
node -v # should print `v16.20.2`
# verifies the right npm version is in the environment
npm -v # should print `8.19.4`
--- para los errores, en power Shell windown
fnm env --use-on-cd | Out-String | Invoke-Expression
- fnm list
- fnm use 16
- fnm use 18
No hay comentarios.:
Publicar un comentario