mirror of
https://github.com/electron/node-gyp.git
synced 2025-09-16 22:13:39 +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
10
README.md
10
README.md
|
@ -38,11 +38,11 @@ You will also need to install:
|
||||||
* `make`
|
* `make`
|
||||||
* A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)
|
* 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/)
|
* [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`
|
* 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`
|
* This step will install `gcc` and the related toolchain containing `make`
|
||||||
|
|
||||||
### On Windows
|
### On Windows
|
||||||
|
@ -88,10 +88,6 @@ value:
|
||||||
$ npm config set python /path/to/executable/python2.7
|
$ 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
|
How to Use
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue