File tree Expand file tree Collapse file tree 5 files changed +28
-1
lines changed
apps/site/snippets/en/download Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ # NOTE:
2+ # Homebrew is not a Node.js package manager.
3+ # Please ensure it is already installed on your system.
4+ # Follow official instructions at https://brew.sh/
5+ # Homebrew only supports installing major Node.js versions and might not support the latest Node.js version from the 22 release line.
6+
17# download and install Node.js
28brew install node@${props.release.major}
39
Original file line number Diff line number Diff line change 1+ # NOTE:
2+ # Chocolatey is not a Node.js package manager.
3+ # Please ensure it is already installed on your system.
4+ # Follow official instructions at https://chocolatey.org/
5+ # Chocolatey is not officially maintained by the Node.js project and might not support the v22.12.0 version of Node.js
6+
17# download and install Node.js
28choco install nodejs-lts --version=" ${props.release.major} "
39
Original file line number Diff line number Diff line change 1+ # NOTE:
2+ # Docker is not a Node.js package manager.
3+ # Please ensure it is already installed on your system.
4+ # Follow official instructions at https://docs.docker.com/desktop/
5+ # Docker images are provided officially at https://github.com/nodejs/docker-node/
6+
17# pulls the Node.js Docker image
28docker pull node:${props.release.major} -${props.release.major >= 4 ? ' alpine' : ' slim' }
39
Original file line number Diff line number Diff line change 1+ # installs fnm (Fast Node Manager)
2+ curl -fsSL https://fnm.vercel.app/install | bash
3+
4+ # activate fnm
5+ source ~ /.bashrc
6+
17# download and install Node.js
2- fnm install ${props.release.major}
8+ fnm use -- install-if-missing ${props.release.major}
39
410# verifies the right Node.js version is in the environment
511node -v # should print "${props.release.versionWithPrefix}"
Original file line number Diff line number Diff line change 1+ # installs nvm (Node Version Manager)
2+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
3+
14# download and install Node.js (you may need to restart the terminal)
25nvm install ${props.release.major}
36
You can’t perform that action at this time.
0 commit comments