Knowledge Base

Installing Node.js

In order to install node.js you need to SSH into your hosting account, the details on how to do this are shown in the control panel under Developer Tools, as well as a form to enable the upload of trusted SSH keys.

Once you have connected to your server

On the website you would like to install Node.js on, run the following commands using website level SSH.

/usr/bin/install_nvm_and_node.sh

This will install the latest stable version of Node.js

If you require a specific version (such as version 24), once the above script has finished you should then execute the following commands

nvm install 24
nvm use 24

This will install node.js and nvm for use in your account.

Log out and log back in for updated $PATH settings to become active (or exec bash --login at the prompt)

Please rate this article to help us improve our Knowledge Base.

0 0