-
Notifications
You must be signed in to change notification settings - Fork 3
Nodejs Setup
Install Node.js using a version manager so you can easily manage Node versions. Follow the section for your operating system.
-
Download and install nvm-windows using the nvm-setup.zip file

-
Open PowerShell as Administrator and verify the install:
nvm ls
-
List available versions:
nvm list available
-
Install the current LTS release:
nvm install <version>(e.g.,nvm install 22.17.0)
-
Set it as active:
nvm use <version>(e.g.,nvm use 22.17.0)
-
Install nvm by running its install script in Terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash -
Close and reopen Terminal (or reload your shell profile) so the
nvmcommand is available, then verify the install:nvm ls
-
List available LTS versions:
nvm ls-remote --lts -
Install the current LTS release:
nvm install <version>(e.g.,nvm install 22.17.0) -
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