Skip to content

Instantly share code, notes, and snippets.

@chicoxyzzy
Last active September 11, 2024 13:27
Show Gist options
  • 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