@@ -576,9 +576,9 @@ to run it again before invoking `make -j4`.
576
576
577
577
* [ Python 3.11] ( https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K )
578
578
* The "Desktop development with C++" workload from
579
- [ Visual Studio 2019 ] ( https://visualstudio.microsoft.com/vs/older- downloads/#visual-studio-2019-and-other-products ) or
579
+ [ Visual Studio 2022 ] ( https://visualstudio.microsoft.com/downloads/ ) or
580
580
the "C++ build tools" workload from the
581
- [ Build Tools] ( https://aka.ms/vs/16 /release/vs_buildtools.exe ) ,
581
+ [ Build Tools] ( https://aka.ms/vs/17 /release/vs_buildtools.exe ) ,
582
582
with the default optional components
583
583
* Basic Unix tools required for some tests,
584
584
[ Git for Windows] ( https://git-scm.com/download/win ) includes Git Bash
@@ -590,11 +590,12 @@ to run it again before invoking `make -j4`.
590
590
591
591
Optional requirements to build the MSI installer package:
592
592
593
- * The .NET SDK component from [ Visual Studio 2019] ( https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2019-and-other-products )
593
+ * The .NET SDK component from [ Visual Studio 2022] ( https://visualstudio.microsoft.com/downloads/ )
594
+ * This component can be installed via the Visual Studio Installer Application
594
595
595
596
Optional requirements for compiling for Windows 10 on ARM (ARM64):
596
597
597
- * Visual Studio 15.9 .0 or newer
598
+ * Visual Studio 17.6 .0 or newer
598
599
* Visual Studio optional components
599
600
* Visual C++ compilers and libraries for ARM64
600
601
* Visual C++ ATL for ARM64
@@ -610,17 +611,17 @@ packages:
610
611
* [ Git for Windows] ( https://chocolatey.org/packages/git ) with the ` git ` and
611
612
Unix tools added to the ` PATH `
612
613
* [ Python 3.x] ( https://chocolatey.org/packages/python )
613
- * [ Visual Studio 2019 Build Tools] ( https://chocolatey.org/packages/visualstudio2019buildtools )
614
- with [ Visual C++ workload] ( https://chocolatey.org/packages/visualstudio2019 -workload-vctools )
614
+ * [ Visual Studio 2022 Build Tools] ( https://chocolatey.org/packages/visualstudio2022buildtools )
615
+ with [ Visual C++ workload] ( https://chocolatey.org/packages/visualstudio2022 -workload-vctools )
615
616
* [ NetWide Assembler] ( https://chocolatey.org/packages/nasm )
616
617
617
618
To install Node.js prerequisites using
618
619
[ Boxstarter WebLauncher] ( https://boxstarter.org/weblauncher ) , open
619
620
< https://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter >
620
621
with Internet Explorer or Edge browser on the target machine.
621
622
622
- Alternatively, you can use PowerShell. Run those commands from an elevated
623
- PowerShell terminal:
623
+ Alternatively, you can use PowerShell. Run those commands from
624
+ an elevated (Administrator) PowerShell terminal:
624
625
625
626
``` powershell
626
627
Set-ExecutionPolicy Unrestricted -Force
@@ -635,8 +636,16 @@ disk space.
635
636
636
637
#### Building Node.js
637
638
638
- If the path to your build directory contains a space or a non-ASCII character,
639
- the build will likely fail.
639
+ * Remember to first clone the Node.js repository with the Git command
640
+ and head to the directory that Git created; If you haven't already
641
+ ``` powershell
642
+ git clone https://github.com/nodejs/node.git
643
+ cd node
644
+ ```
645
+ * If the path to your build directory contains a space or a non-ASCII character,
646
+ the build will likely fail
647
+
648
+ To start the build process:
640
649
641
650
``` powershell
642
651
.\vcbuild
@@ -697,7 +706,7 @@ This is the default option.
697
706
### Trimmed: ` small-icu ` (English only) support
698
707
699
708
In this configuration, only English data is included, but
700
- the full ` Intl ` (ECMA-402) APIs. It does not need to download
709
+ the full ` Intl ` (ECMA-402) APIs. It does not need to download
701
710
any dependencies to function. You can add full data at runtime.
702
711
703
712
#### Unix/macOS
0 commit comments