NodeJS: Difference between revisions
Jump to navigation
Jump to search
(→NVM) |
(→NVM) |
||
Line 7: | Line 7: | ||
nvm use system | nvm use system | ||
npm uninstall -g a_module | npm uninstall -g a_module | ||
sudo npm uninstall -g nvm | |||
<source lang="bash"> | <source lang="bash"> |
Revision as of 02:29, 20 March 2022
NVM
/usr/local/lib ├── [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 sudo npm uninstall -g nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"