From 0c846c8c97d4f415cc23054bee4681935e0e39e6 Mon Sep 17 00:00:00 2001 From: joshmccall221 Date: Thu, 30 Jun 2016 11:37:37 -0500 Subject: [PATCH 1/2] Instructions to uninstall in case of problems --- README.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.markdown b/README.markdown index 16ede3b..6ae0a8a 100644 --- a/README.markdown +++ b/README.markdown @@ -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 [Urchin]: https://github.com/scraperwiki/urchin [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 +``` From b5486b9086269f90dc1409a46da2491dce54f979 Mon Sep 17 00:00:00 2001 From: joshmccall221 Date: Fri, 1 Jul 2016 09:28:02 -0500 Subject: [PATCH 2/2] Update to nvm specific --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 6ae0a8a..5ba775e 100644 --- a/README.markdown +++ b/README.markdown @@ -351,7 +351,7 @@ If setting the `default` alias does not establish the node version in new shells ## Uninstall ``` -rm -rf $NVM_DIR ~/.npm ~/.bower && \ +rm -rf $NVM_DIR unset NVM_DIR ``` You may have to remove the following from your ~/.*rc