Skip to content

Instantly share code, notes, and snippets.

@ariesmcrae
Created September 28, 2022 05:23
Show Gist options
  • Save ariesmcrae/d4908e322b181fdfca102384e70d8038 to your computer and use it in GitHub Desktop.
Save ariesmcrae/d4908e322b181fdfca102384e70d8038 to your computer and use it in GitHub Desktop.
nvm 101

Find the lastest node.js 16 LTS to cherry pick from

nvm ls-remote

Install the desired version of node.js 16 LTS

nvm install v16.17.1

Switch to the newly installed node.js 16 LTS

nvm use v16.17.1

Pin to the latest version of node.js 16 LTS so that it sticks to that version even if you've exited the command line

nvm alias default v16.17.1

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