mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2026-01-14 07:03:17 +08:00
Merge pull request #699 from gdziadkiewicz/patch-1
Use Windows defined env vars in all paths in README
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user