45
loading...
This website collects cookies to deliver better user experience
choco install nvs
export NVS_HOME="$HOME/.nvs"
git clone <https://github.com/jasongin/nvs> "$NVS_HOME"
. "$NVS_HOME/nvs.sh" install
$HOME/.nvs
. For example, If my home directory is /Users/baggus/
, then NVS_HOME is /Users/baggus/.nvs
This location will be used by nvs to put nvs code and your Node JS installation.~/.bashrc
, ~/.profile
, or ~/.zshrc
file to source nvs.sh (depending on what shell you use). With this command, the nvs command will be available in your shells.nvs --version
nvs
without any parameter.nvs
nvs add 14.17.2
nvs add lts
nvm ls
~/.nvs/node/14.17.2/
nvs use 14
nvs use lts
node -v
// will show output
// v14.17.2
nvs add 16.4.1
nvs add latest
nvs use 16
nvs use latest
node -v
// will show output
// v16.4.1