# 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
//To install a specific version of npm locally for your project
$ npm install npm@version //replace version with the npm version you want to install
//To install globally
$ npm install -g npm@version //replace version with the npm version you want to install
# 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
//To install a specific version of npm locally for your project
$ npm install npm@version //replace version with the npm version you want to install
//To install globally
$ npm install -g npm@version //replace version with the npm version you want to install