Top Nav

Archive | NodeJS

nodejs Install Via NVM On Shared Hosting

Node can be installed on a shared hosting account if you have SSH but no root access. Using Node Version Manager (NVM) makes it easy to install and manage different node versions.

Here’s the NVM project page:

https://github.com/creationix/nvm

To install get the curl or wget command from here:

https://github.com/creationix/nvm#install-script

Will be something like:

The install may advise you to create or update your .bash_profile with something like:

Immediately after install you may need to run:

Now you can use NVM to:

List available node version:

Install node version:

List locally installed version:

Use node version:

Set the default version:

0