fnm
fnm是一套Node.js的版本管理工具。
安裝
這邊可以去GitHub上面確認最新版的binary:
cd /tmp; wget https://github.com/Schniz/fnm/releases/download/v1.35.0/fnm-linux.zip; mkdir ~/.fnm; unzip fnm-linux.zip -d ~/.fnm/; chmod 755 ~/.fnm/fnm; echo '[ -s "${HOME}/.fnm/fnm" ] && eval "$(${HOME}/.fnm/fnm env)" && export PATH="${HOME}/.fnm:${PATH}"' >> ~/.profile