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
On macOS, install the `Xcode Command Line Tools` by running
256
+
FreeBSD and OpenBSD users may also need to install `libexecinfo`.
257
+
258
+
#### macOS prerequisites
259
+
260
+
* Xcode Command Line Tools >= 8 for macOS
261
+
* Python (see note above)
262
+
* Python 2.7
263
+
* Python 3.5, 3.6, and 3.7 are experimental.
264
+
265
+
macOS users can install the `Xcode Command Line Tools` by running
233
266
`xcode-select --install`. Alternatively, if you already have the full Xcode
234
267
installed, you can find them under the menu `Xcode -> Open Developer Tool ->
235
268
More Developer Tools...`. This step will install `clang`, `clang++`, and
236
269
`make`.
237
270
271
+
#### Building Node.js
272
+
238
273
If the path to your build directory contains a space, the build will likely
239
274
fail.
240
275
241
-
On FreeBSD and OpenBSD, you may also need:
242
-
* libexecinfo
243
-
244
-
#### Building Node.js
245
-
246
276
To build Node.js:
247
277
248
278
```console
@@ -461,7 +491,9 @@ $ backtrace
461
491
462
492
### Windows
463
493
464
-
Prerequisites:
494
+
#### Prerequisites
495
+
496
+
##### Option 1: Manual install
465
497
466
498
*[Python 2.7](https://www.python.org/downloads/)
467
499
* The "Desktop development with C++" workload from
@@ -476,17 +508,58 @@ Prerequisites:
476
508
If not installed in the default location, it needs to be manually added
477
509
to `PATH`. A build with the `openssl-no-asm` option does not need this, nor
478
510
does a build targeting ARM64 Windows.
479
-
***Optional** (to build the MSI): the [WiX Toolset v3.11](http://wixtoolset.org/releases/)
480
-
and the [Wix Toolset Visual Studio 2017 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension).
481
-
***Optional** Requirements for compiling for Windows 10 on ARM (ARM64):
482
-
* ARM64 Windows build machine
483
-
* Due to a GYP limitation, this is required to run compiled code
484
-
generation tools (like V8's builtins and mksnapshot tools)
485
-
* Visual Studio 15.9.0 or newer
486
-
* Visual Studio optional components
487
-
* Visual C++ compilers and libraries for ARM64
488
-
* Visual C++ ATL for ARM64
489
-
* Windows 10 SDK 10.0.17763.0 or newer
511
+
512
+
Optional requirements to build the MSI installer package:
513
+
514
+
* The [WiX Toolset v3.11](http://wixtoolset.org/releases/) and the
515
+
[Wix Toolset Visual Studio 2017 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension).
516
+
517
+
Optional requirements for compiling for Windows 10 on ARM (ARM64):
518
+
519
+
* ARM64 Windows build machine
520
+
* Due to a GYP limitation, this is required to run compiled code
521
+
generation tools (like V8's builtins and mksnapshot tools)
522
+
* Visual Studio 15.9.0 or newer
523
+
* Visual Studio optional components
524
+
* Visual C++ compilers and libraries for ARM64
525
+
* Visual C++ ATL for ARM64
526
+
* Windows 10 SDK 10.0.17763.0 or newer
527
+
528
+
##### Option 2: Automated install with Boxstarter
529
+
<aname="boxstarter"></a>
530
+
531
+
A [Boxstarter](http://boxstarter.org/) script can be used for easy setup of
532
+
Windows systems with all the required prerequisites for Node.js development.
533
+
This script will install the following [Chocolatey](https://chocolatey.org/)
534
+
packages:
535
+
536
+
*[Git for Windows](https://chocolatey.org/packages/git) with the `git` and
537
+
Unix tools added to the `PATH`.
538
+
*[Python 3.x](https://chocolatey.org/packages/python) and
0 commit comments