first install this curl curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash next put the correct source in bash profile source ~/.bash_profile link command -v nvm