Kaarma Cloud Logo
Kaarma Cloud
SupportVPS ServersInstalling Node.js & NPM

Installing Node.js & NPM

Setting up a Node environment on Ubuntu.

Installing Node.js

  1. Update sources: sudo apt update
  2. Install curl: sudo apt install curl
  3. Get setup script (e.g., Node 18): curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
  4. Install: sudo apt install -y nodejs
  5. Check version: node -v
Last updated: Today
Was this helpful?