Skip to content

Commit

Permalink
Merge pull request coreybutler#699 from gdziadkiewicz/patch-1
Browse files Browse the repository at this point in the history
Use Windows defined env vars in all paths in README
  • Loading branch information
coreybutler authored Dec 8, 2021
2 parents 567ba87 + 7860ff1 commit d2f09db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d2f09db

Please sign in to comment.