Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save windhamdavid/f8d9cd692394ba1168dd6f0df4543f45 to your computer and use it in GitHub Desktop.
Save windhamdavid/f8d9cd692394ba1168dd6f0df4543f45 to your computer and use it in GitHub Desktop.
=> You currently have modules installed globally with `npm`. These will no
=> longer be linked to the active version of Node when you install a new node
=> with `nvm`; and they may (depending on how you construct your `$PATH`)
=> override the binaries of modules installed with `nvm`:
/Users/david/.nvm/versions/node/v10.16.3/lib
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
=> If you wish to uninstall them at a later point (or re-install them under your
=> `nvm` Nodes), you can remove them from the system Node as follows:
$ nvm use system
$ npm uninstall -g a_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment