Skip to content

Commit

Permalink
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate authored and rvagg committed Jun 23, 2021
1 parent e50e04d commit 979a706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Updating-npm's-bundled-node-gyp.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Sometimes, you may need to update npm's internal node-gyp to a newer version tha

So instead:

### Linux, Mac OS X, Solaris, etc.
## Linux, Mac OS X, Solaris, etc.

Unix is easy. Just run the following command. Use `sudo` if necessary.

``` bash
$ [sudo] npm explore npm -g -- npm install node-gyp
```

### Windows
## Windows

Windows is a bit tricker, since `npm` gets installed to the "Program Files" directory, which needs admin privileges in order to modify on current Windows. Therefore, run the following commands __inside a `cmd.exe` started with "Run as Administrator"__:

Expand Down

0 comments on commit 979a706

Please sign in to comment.