Add detail to instructions for Windows
Josh Birlingmair committed
Jul 15, 2021 at 13:38 UTC
f0f2939af061aef20a76df38a6494532ba0b7367
1 file changed
+1
-1
content/getting-started/troubleshooting/try-the-latest-stable-version-of-npm.mdx
+1
-1
@@ -58,7 +58,7 @@ Remember that you'll need to restart `cmd.exe` (and potentially restart Windows)
58
* `%ProgramFiles%\nodejs\npm.cmd`
59
60
* Option 3: Navigate to `%ProgramFiles%\nodejs\node_modules\npm` and copy the `npmrc`file to another folder or the desktop.
61
-Then open `cmd.exe` and run the following commands:
61
+Then open `cmd.exe` as an administrator and run the following commands:
62
```bash
63
cd %ProgramFiles%\nodejs
64
npm install npm@latest