mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
Instructions to uninstall in case of problems
This commit is contained in:
parent
a24ff3e605
commit
0c846c8c97
@ -347,3 +347,15 @@ If setting the `default` alias does not establish the node version in new shells
|
|||||||
[3]: https://travis-ci.org/creationix/nvm
|
[3]: https://travis-ci.org/creationix/nvm
|
||||||
[Urchin]: https://github.com/scraperwiki/urchin
|
[Urchin]: https://github.com/scraperwiki/urchin
|
||||||
[Fish]: http://fishshell.com
|
[Fish]: http://fishshell.com
|
||||||
|
|
||||||
|
## Uninstall
|
||||||
|
|
||||||
|
```
|
||||||
|
rm -rf $NVM_DIR ~/.npm ~/.bower && \
|
||||||
|
unset NVM_DIR
|
||||||
|
```
|
||||||
|
You may have to remove the following from your ~/.*rc
|
||||||
|
```
|
||||||
|
export NVM_DIR="~/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user