Search code examples
javascriptnode.jsweb-hosting

Install node.js at Shared Dreamhost


Im trying to install node.js to shared dreamhost. I have followed the directions for Dan dean here http://dandean.com/nodejs-on-dreamhost-shared-server/

but when I go test, $ node --version Then it says:

-bash: node: command not found

I follow the step by step, this is the correct way to install the node in the shared server?


Solution

  • You may want to look into nvm when installing Node somewhere else than your local environment.

    Check out my blog post on nvm: http://mycodesmells.com/post/node-version-management/