From 7860ff1f80be114103bbfdb5b7e45a0163512a46 Mon Sep 17 00:00:00 2001 From: Grzegorz Dziadkiewicz Date: Sat, 20 Nov 2021 16:04:21 +0100 Subject: [PATCH] Use Windows defined env vars in all paths in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0b1606d..b69b1db 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ There are situations where the ability to switch between different versions of N Uninstall any existing versions of Node.js before installing NVM for Windows (otherwise you'll have conflicting versions). Delete any existing Node.js installation directories (e.g., `%ProgramFiles%\nodejs`) that might remain. NVM's generated symlink will not overwrite an existing (even empty) installation directory. :eyes: **Backup any global `npmrc` config** :eyes: -(e.g. `C:\Users\\AppData\Roaming\npm\etc\npmrc`) +(e.g. `%AppData%\npm\etc\npmrc`) -Alternatively, copy the settings to the user config `C:\Users\\.npmrc`. Delete the existing npm install location (e.g. `C:\Users\\AppData\Roaming\npm`) to prevent global module conflicts. +Alternatively, copy the settings to the user config `%UserProfile%\.npmrc`. Delete the existing npm install location (e.g. `%AppData%\npm`) to prevent global module conflicts. #### Install nvm-windows