export NODE_PATH="/usr/local/lib/node_modules"

if which npm > /dev/null; then . <(npm completion); fi

[ -s $HOME/.nvm/nvm.sh ] && . $HOME/.nvm/nvm.sh # This loads NVM

if which npm > /dev/null; then . <(npm completion); fi

Use nvm to manage node versions
Use nvm to manage node versions
