Merge pull request #699 from gdziadkiewicz/patch-1

Use Windows defined env vars in all paths in README
This commit is contained in:
Corey Butler
2021-12-07 20:07:55 -06:00
committed by GitHub

View File

@@ -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\<user>\AppData\Roaming\npm\etc\npmrc`)
(e.g. `%AppData%\npm\etc\npmrc`)
Alternatively, copy the settings to the user config `C:\Users\<user>\.npmrc`. Delete the existing npm install location (e.g. `C:\Users\<user>\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