Skip to content

How to use nvm and deployer on the server? #2742

Discussion options

You must be logged in to vote

Hmm oke, this is what I did to fix it.

Adding this to .zshrc and .bashrc:

source $HOME/.nvm/nvm.sh

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@klaasnicolaas
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by klaasnicolaas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants