Answers for "nvm set alias"

18

nvm set default

# Install the version that you would like 
nvm install 6.1.0

# Set 6.1.0 (or another version) as default
nvm alias default 6.1.0
Posted by: Guest on February-21-2020
0

nvm alias

nvm install 14.0.0
nvm install 15.0.0
nvm alias default v15.0.0 //Mark 15.0 as default
nvm alias stable v14.0.0  

nvm use stable // node -v -> 14.0
Posted by: Guest on May-25-2021
0

nvm use default alias

(nvm maintainer here)

nvm alias default 6.11.5 if you want it pegged to that specific version.

You can also do nvm alias default 6.

Either way, you'll want to upgrade to the latest version of nvm (v0.33.11 as of this writing)
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language