Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Node.js on a VPS

Node.js runs JavaScript on the server with non-blocking I/O and the npm registry, for APIs, web apps, real-time services and build tooling.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
22/tcp, YourPorts
MITLicense

About Node.js

Node.js is an MIT-licensed JavaScript runtime built on the V8 engine. Its event loop serves many concurrent connections without threads, which suits APIs, WebSocket services and server-rendered frameworks such as Next.js or Nuxt.

A CloudSat VPS gives your app a root shell, a fixed IP and NVMe storage for node_modules. High Frequency plans help, since one Node process runs your JavaScript on a single core.

Node.js and npm come ready: run your app on any port and put NGINX or Caddy in front for HTTPS.

What you get with Node.js

  • V8 engine with modern JavaScript and ES modules
  • Built-in test runner, watch mode and --env-file loading
  • Type stripping for TypeScript files in current releases
  • npm with the whole public registry
  • Worker threads and cluster for multi-core use

Node.js use cases

  • Host a REST or GraphQL API
  • Run a Next.js or Nuxt site with server rendering
  • Serve WebSocket backends for chat or live dashboards

After you deploy Node.js

  1. Log in as root over SSH when the server turns Running (key or Access tab password) and confirm node -v.
  2. Create a non-root user for the app, clone your code and run npm ci.
  3. Keep the process alive with a systemd unit, or with npm install -g pm2 and pm2 start app.js.
  4. Proxy the app's port through NGINX or Caddy with HTTPS on your domain, and close that port to the public.

Node.js ports

Open these in your firewall if you use one: 22/tcp SSH, Your app's port (3000 is a common default).

Node.js FAQ

Which Node.js version should I run?

An LTS release, since LTS lines get about 30 months of fixes. To run several versions side by side, use a version manager such as nvm.

How do I use more than one CPU core?

Run several processes behind one port with the cluster module or PM2's cluster mode, or scale out to more servers behind a load balancer.

Disclaimer. The Node.js project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Node.js on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back