安裝命令:
curl -o-https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh| bash
或者wegt:
wget -qO-https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh| bash
參考:https://github.com/nvm-sh/nvm/blob/master/README.md
關(guān)閉當(dāng)前終端,重新打開,輸入nvm,出現(xiàn)如下畫面即為成功:
