curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash 之后 source ~/.bashrc ok。