Skip to content

Nodejs Setup

Eric Knee edited this page Jul 9, 2026 · 1 revision

Install Node.js using a version manager so you can easily manage Node versions. Follow the section for your operating system.


Windows (nvm-windows)

  1. Download and install nvm-windows using the nvm-setup.zip file

    nvm-windows install directory

  2. Open PowerShell as Administrator and verify the install: nvm ls

    nvm ls

  3. List available versions: nvm list available

    nvm list available

  4. Install the current LTS release: nvm install <version> (e.g., nvm install 22.17.0)

    nvm install version

  5. Set it as active: nvm use <version> (e.g., nvm use 22.17.0)

    nvm use version


macOS (nvm)

  1. Install nvm by running its install script in Terminal:

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
  2. Close and reopen Terminal (or reload your shell profile) so the nvm command is available, then verify the install:

    nvm ls
  3. List available LTS versions: nvm ls-remote --lts

  4. Install the current LTS release: nvm install <version> (e.g., nvm install 22.17.0)

  5. Set it as active and as the default for new shells:

    nvm use 22.17.0
    nvm alias default 22.17.0

Note

The curl command above pins nvm v0.40.3. Check the nvm releases page for the latest version and update the URL if a newer one is available.


Next: Installation