Skip to content

Instantly share code, notes, and snippets.

@EmilyRosina
Last active January 21, 2022 18:58
Show Gist options
  • Save EmilyRosina/60be871533853918cbd88c9e768a28f0 to your computer and use it in GitHub Desktop.
Save EmilyRosina/60be871533853918cbd88c9e768a28f0 to your computer and use it in GitHub Desktop.

When moving from one version of node to another via nvm, you can copy across any global dependencies by installing like this:

nvm install 16 --reinstall-packages-from=current

Source

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