Hi there I want to use Express. I have looked at your site: https://www.digitalocean.com/community/tutorials/how-to-install-express-a-node-js-framework-and-set-up-socket-io-on-a-vps The first steps was to :1) sudo apt-get install curl git 2) curl https://raw.github.com/creationix/nvm/master/install.sh | 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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.