diff --git a/apps/site/snippets/en/download/brew.bash b/apps/site/snippets/en/download/brew.bash index 30285746f6e3c..166fca14ed9b5 100644 --- a/apps/site/snippets/en/download/brew.bash +++ b/apps/site/snippets/en/download/brew.bash @@ -1,3 +1,9 @@ +# NOTE: +# Homebrew is not a Node.js package manager. +# Please ensure it is already installed on your system. +# Follow official instructions at https://brew.sh/ +# Homebrew only supports installing major Node.js versions and might not support the latest Node.js version from the 22 release line. + # download and install Node.js brew install node@${props.release.major} diff --git a/apps/site/snippets/en/download/choco.bash b/apps/site/snippets/en/download/choco.bash index 62b3a4783c81d..84e8cd61e0fec 100644 --- a/apps/site/snippets/en/download/choco.bash +++ b/apps/site/snippets/en/download/choco.bash @@ -1,3 +1,9 @@ +# NOTE: +# Chocolatey is not a Node.js package manager. +# Please ensure it is already installed on your system. +# Follow official instructions at https://chocolatey.org/ +# Chocolatey is not officially maintained by the Node.js project and might not support the v22.12.0 version of Node.js + # download and install Node.js choco install nodejs-lts --version="${props.release.major}" diff --git a/apps/site/snippets/en/download/docker.bash b/apps/site/snippets/en/download/docker.bash index e478cb8c1dcf6..e3617cf2d3225 100644 --- a/apps/site/snippets/en/download/docker.bash +++ b/apps/site/snippets/en/download/docker.bash @@ -1,3 +1,9 @@ +# NOTE: +# Docker is not a Node.js package manager. +# Please ensure it is already installed on your system. +# Follow official instructions at https://docs.docker.com/desktop/ +# Docker images are provided officially at https://github.com/nodejs/docker-node/ + # pulls the Node.js Docker image docker pull node:${props.release.major}-${props.release.major >= 4 ? 'alpine' : 'slim'} diff --git a/apps/site/snippets/en/download/fnm.bash b/apps/site/snippets/en/download/fnm.bash index 77c235d49fbef..b4ba5d71b721d 100644 --- a/apps/site/snippets/en/download/fnm.bash +++ b/apps/site/snippets/en/download/fnm.bash @@ -1,5 +1,11 @@ +# installs fnm (Fast Node Manager) +curl -fsSL https://fnm.vercel.app/install | bash + +# activate fnm +source ~/.bashrc + # download and install Node.js -fnm install ${props.release.major} +fnm use --install-if-missing ${props.release.major} # verifies the right Node.js version is in the environment node -v # should print "${props.release.versionWithPrefix}" diff --git a/apps/site/snippets/en/download/nvm.bash b/apps/site/snippets/en/download/nvm.bash index 97653d94e28f6..74ca8f037c4be 100644 --- a/apps/site/snippets/en/download/nvm.bash +++ b/apps/site/snippets/en/download/nvm.bash @@ -1,3 +1,6 @@ +# installs nvm (Node Version Manager) +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash + # download and install Node.js (you may need to restart the terminal) nvm install ${props.release.major}