How do I install Node.js or Python on my server? Print

  • 0

Connect over SSH, then install from a maintained source so you get a current version.

Node.js (via NodeSource, e.g. v20):

  1. curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
  2. sudo apt install -y nodejs
  3. Verify with node -v and npm -v.

Python 3 is usually preinstalled; add pip and venv:

  1. sudo apt install python3 python3-pip python3-venv
  2. Create isolated projects with python3 -m venv myenv.

To keep apps running, use a process manager like pm2 for Node or gunicorn plus systemd for Python, behind Nginx as a reverse proxy. On unmanaged plans this is your responsibility; managed customers can open a ticket for guidance.


Was this answer helpful?

« Back