From efdcfb02948aea0569651eba170c8c0edfcd6e50 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 3 Dec 2026 22:47:22 -0800 Subject: [PATCH] [Docs] manual uninstall: expand the default `NVM_DIR` A quoted `~` never expands, so with `NVM_DIR` unset, the old step removed nothing. Spotted in #4015. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9b29ced..97775768 100644 --- a/README.md +++ b/README.md @@ -1120,7 +1120,7 @@ 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: ```sh -$ nvm_dir="${NVM_DIR:-~/.nvm}" +$ nvm_dir="${NVM_DIR:-$HOME/.nvm}" $ nvm unload $ rm -rf "$nvm_dir" ```