You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-18Lines changed: 22 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@
6
6
`node-gyp` is a cross-platform command-line tool written in Node.js for
7
7
compiling native addon modules for Node.js. It contains a vendored copy of the
8
8
[gyp-next](https://github.com/nodejs/gyp-next) project that was previously used
9
-
by the Chromium team, extended to support the development of Node.js native addons.
9
+
by the Chromium team and extended to support the development of Node.js native
10
+
addons.
10
11
11
12
Note that `node-gyp` is _not_ used to build Node.js itself.
12
13
@@ -31,23 +32,22 @@ Depending on your operating system, you will need to install:
31
32
32
33
### On Unix
33
34
34
-
*Python v3.7, v3.8, v3.9, or v3.10
35
+
*[A supported version of Python](https://devguide.python.org/versions/)
35
36
*`make`
36
37
* A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)
37
38
38
39
### On macOS
39
40
40
-
**ATTENTION**: If your Mac has been _upgraded_ to macOS Catalina (10.15) or higher, please read [macOS_Catalina.md](macOS_Catalina.md).
41
-
42
-
* Python v3.7, v3.8, v3.9, or v3.10
41
+
*[A supported version of Python](https://devguide.python.org/versions/)
43
42
*`XCode Command Line Tools` which will install `clang`, `clang++`, and `make`.
44
43
* Install the `XCode Command Line Tools` standalone by running `xcode-select --install`. -- OR --
45
44
* Alternatively, if you already have the [full Xcode installed](https://developer.apple.com/xcode/download/), you can install the Command Line Tools under the menu `Xcode -> Open Developer Tool -> More Developer Tools...`.
46
45
47
46
48
47
### On Windows
49
48
50
-
Install the current version of Python from the [Microsoft Store package](https://www.microsoft.com/en-us/p/python-310/9pjpw5ldxlz5).
49
+
Install the current [version of Python](https://devguide.python.org/versions/) from the
* Install Visual C++ Build Environment: [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools)
@@ -62,9 +62,9 @@ Install tools and configuration manually:
62
62
63
63
### Configuring Python Dependency
64
64
65
-
`node-gyp` requires that you have installed a compatible version of Python, one of: v3.7, v3.8,
66
-
v3.9, or v3.10. If you have multiple Python versions installed, you can identify which Python
67
-
version `node-gyp` should use in one of the following ways:
65
+
`node-gyp` requires that you have installed a [supported version of Python](https://devguide.python.org/versions/).
66
+
If you have multiple versions of Python installed, you can identify which version
67
+
`node-gyp` should use in one of the following ways:
68
68
69
69
1. by setting the `--python` command-line option, e.g.:
0 commit comments