NodeJS

Install and manage Node.js locally (Windows, macOS, Linux) using an installer, package manager, or version manager.

🧾 Overview

Node.js runs JavaScript outside the browser for CLIs, APIs, workers, scheduled tasks, and real‑time services. Local installation lets you:

  • Install dependencies (npm, pnpm, or Yarn)

  • Run and debug before deploying to Discloud

  • Prepare builds or bundles where needed


📥 Installation

Pick your operating system, then one method. Version managers (NVM) help when switching projects.

1

Open https://nodejs.org/en/download and download the LTS .msi

2

Run installer (keep defaults incl. npm + PATH)

3

Reopen terminal & verify

node -v
npm -v

🔄 Updating Node.js

If you're using NVM, you can update Node.js with:

nvm install stable

Otherwise, use your system's package manager or re-download the latest installer from the Node.js website.

Last updated