Answers for "npm switch node version"

2

switch npm versions

#if you have on your machine many Node versions you can easy switch them:

#this will display to you a list of available versions on your machine
nvm list

#to use a custom version:
nvm use 15.11
Posted by: Guest on July-31-2021
3

list all node versions mac

$ nvm ls
Posted by: Guest on May-22-2020
0

switch node version

npm install -g n   # Install n globally
n 0.10.33          # Install and use v0.10.33
Posted by: Guest on April-14-2021
1

how to change node version

nvm use --delete-prefix $NODE_VERSION

example:
nvm use --delete-prefix v8.9.4
Posted by: Guest on April-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language