📅  最后修改于: 2022-03-11 14:50:47.244000             🧑  作者: Mango
## Using curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
## Using wget
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
##After install, load the NVM config in your shell
## ~/.bashrc or ~/.zshrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm