Skip to content

Instantly share code, notes, and snippets.

@chicoxyzzy
Last active February 6, 2024 16:44
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save chicoxyzzy/77dcbf21485d80b3ad870ed0d3286579 to your computer and use it in GitHub Desktop.
Save chicoxyzzy/77dcbf21485d80b3ad870ed0d3286579 to your computer and use it in GitHub Desktop.
Installing Node Nightlies via nvm

You can install Node Nightlies/RCs via nvm using NVM_NODEJS_ORG_MIRROR environment variable.

Install latest Node RC

NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/rc/ nvm i node

Install latest Node.js Nightly

NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly/ nvm i node

Install latest Node ChakraCore

NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/chakracore-nightly/ nvm i node

Install latest Node v8 Canary

NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/v8-canary/ nvm i node
@lukechilds
Copy link

If anyone's using zsh-nvm I just baked this functionality in. You can do nvm install nightly|rc nvm use nightly|rc and it'll handle the rest.

% nvm install rc
Downloading and installing node v8.0.0-rc.1...
Downloading https://nodejs.org/download/rc//v8.0.0-rc.1/node-v8.0.0-rc.1-darwin-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with shasum -a 256
Checksums matched!
Now using node v8.0.0-rc.1 (npm v5.0.0-beta.56)
rc -> v8.0.0-rc.1
Clearing mirror cache...
Done!

Thanks for the idea @chicoxyzzy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment