From baa0577d3034773469a817129b8547654c4ebd83 Mon Sep 17 00:00:00 2001 From: Vandit Jain Date: Wed, 28 Feb 2024 20:06:15 -0800 Subject: [PATCH] Updated manual uninstall instructions in readme. Now suggests removing the installation directory before running nvm unload. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e47e01..a4711fb 100644 --- a/README.md +++ b/README.md @@ -844,12 +844,12 @@ As a potential alternative, @mhart (a Node contributor) has some [Docker images To remove `nvm` manually, execute the following: -First, use `nvm unload` to remove the nvm command from your terminal session and delete the installation directory: +First, delete the installation directory and use `nvm unload` to remove the nvm command from your terminal session: ```sh $ nvm_dir="${NVM_DIR:-~/.nvm}" -$ nvm unload $ rm -rf "$nvm_dir" +$ nvm unload ``` Edit `~/.bashrc` (or other shell resource config) and remove the lines below: