Skip to content

Instantly share code, notes, and snippets.

@joyeecheung
Last active September 26, 2023 11:19
Show Gist options
  • Save joyeecheung/083f6b6d601e64382121001ab87bbed2 to your computer and use it in GitHub Desktop.
Save joyeecheung/083f6b6d601e64382121001ab87bbed2 to your computer and use it in GitHub Desktop.
How to install nightly with various Node.js version managers
# Using n
$ n install nightly
# Using nvs
$ nvs remote add nightly https://nodejs.org/download/nightly/
$ nvs add nightly/21
$ nvs use nightly/21
# Using nvm
$ NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly/ nvm i node
# Or get the binary for your platform at https://nodejs.org/download/nightly/
# Don't forget to clean up/uninstall the nightlies after you finish testing!
# Using n
$ n rm nightly
# Uinsg nvs
$ nvs rm nightly/21
# Using nvm
$ nvm ls 21 # Find the nightly you just installed, e.g. v21.0.0-nightly20230926f16f41c5b3
$ nvm uninstall v21.0.0-nightly20230926f16f41c5b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment