Answers for "nvm specify npm version"

10

nvm how to install specific version of node

//lists all versions
nvm ls-remote

//installs the version you want (in this case version 14.0.0)
nvm install v14.0.0

//use the version that you installed as the default
nvm use v14.0.0
Posted by: Guest on July-04-2020
0

how to specify version in npm install

// install a specific version of a package.
npm install <package>@<version>
Posted by: Guest on March-29-2021

Browse Popular Code Answers by Language