NodeJS
Install and manage Node.js locally (Windows, macOS, Linux) using an installer, package manager, or version manager.
Last updated
node -v
npm -vchoco install nodejs-lts -y
node -v
npm -vnvm install lts
nvm use lts
node -v
npm -vsudo apt update
sudo apt install -y nodejs npm
node -v
npm -vsudo dnf install -y nodejs npm
node -v
npm -vsudo pacman -S --needed nodejs-lts-hydrogen npm
node -v
npm -vcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.bashrc 2>/dev/null || source ~/.zshrc 2>/dev/null
nvm install --lts
nvm use --lts
nvm alias default lts/*
node -v
npm -vnode -v
npm -vbrew update
brew install node
node -v
npm -vcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.zshrc 2>/dev/null || source ~/.bashrc 2>/dev/null
nvm install --lts
nvm use --lts
node -v
npm -vnvm install stable