mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
doc: update macOS information in README
PR-URL: https://github.com/nodejs/node-gyp/pull/1323 Fixes: https://github.com/nodejs/node-gyp/issues/1295 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
parent
9425448945
commit
79febace53
1 changed files with 4 additions and 8 deletions
12
README.md
12
README.md
|
@ -38,12 +38,12 @@ You will also need to install:
|
|||
* `make`
|
||||
* A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)
|
||||
|
||||
### On Mac OS X
|
||||
### On macOS
|
||||
|
||||
* `python` (`v2.7` recommended, `v3.x.x` is __*not*__ supported) (already installed on Mac OS X)
|
||||
* `python` (`v2.7` recommended, `v3.x.x` is __*not*__ supported) (already installed on macOS)
|
||||
* [Xcode](https://developer.apple.com/xcode/download/)
|
||||
* You also need to install the `Command Line Tools` via Xcode. You can find this under the menu `Xcode -> Preferences -> Downloads`
|
||||
* This step will install `gcc` and the related toolchain containing `make`
|
||||
* You also need to install the `Command Line Tools` via Xcode. You can find this under the menu `Xcode -> Preferences -> Downloads` (or by running `xcode-select --install` in your Terminal)
|
||||
* This step will install `gcc` and the related toolchain containing `make`
|
||||
|
||||
### On Windows
|
||||
|
||||
|
@ -88,10 +88,6 @@ value:
|
|||
$ npm config set python /path/to/executable/python2.7
|
||||
```
|
||||
|
||||
Note that OS X is just a flavour of Unix and so needs `python`, `make`, and C/C++.
|
||||
An easy way to obtain these is to install XCode from Apple,
|
||||
and then use it to install the command line tools (under Preferences -> Downloads).
|
||||
|
||||
How to Use
|
||||
----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue