Problem installing node.js and Express

July 26, 2017 191 views

Hi there
I want to use Express. I have looked at your site:
The first steps was to :1) sudo apt-get install curl git 2) curl | sh

I have tried those two installations, and then test if the installations was right installed by typing nvm - but I got the message "nvm: command not found"

I hope to hearing from you.

1 Answer


When it comes to using nvm, you'll need to log out of the SSH session (using exit) and then log back in to be able to use the nvm command. The reason for this is because during the set up, it sets an alias for the command and it doesn't appear to auto-source the alias.

Once you log out of SSH and then log back in, you should be able to use the nvm alias as expected.

Have another answer? Share your knowledge.