Skip to main content

Node.js for PHP Sites

On this site, you will find a guide on installing Node.js via the nvm (Node Version Manager) for your site.

  1. Log in via SSH with the Site User:
ssh john-doe@server-ip-address
  1. Install nvm with the following command:
curl -o- | bash
  1. Update the current shell environment:
source ~/.bashrc
  1. Install your required Node.js version e.g. 22:
nvm install 22
  1. Activate the installed Node.js version:
nvm use 22
  1. Done! Check the Node.js version:
node -v