@@ -35,7 +35,8 @@ file a new issue.
35
35
* [ Windows] ( #windows )
36
36
* [ Windows Prerequisites] ( #windows-prerequisites )
37
37
* [ Option 1: Manual install] ( #option-1-manual-install )
38
- * [ Option 2: Automated install with Boxstarter] ( #option-2-automated-install-with-boxstarter )
38
+ * [ Option 2: Automated install with WinGet] ( #option-2-automated-install-with-winget )
39
+ * [ Option 3: Automated install with Boxstarter] ( #option-3-automated-install-with-boxstarter )
39
40
* [ Building Node.js] ( #building-nodejs-2 )
40
41
* [ Android] ( #android )
41
42
* [ ` Intl ` (ECMA-402) support] ( #intl-ecma-402-support )
@@ -666,7 +667,34 @@ Optional requirements for compiling with ClangCL:
666
667
667
668
NOTE: Currently we only support compiling with Clang that comes from Visual Studio.
668
669
669
- ##### Option 2: Automated install with Boxstarter
670
+ ##### Option 2: Automated install with WinGet
671
+
672
+ [ WinGet configuration files] ( https://github.com/nodejs/node/tree/main/.configurations )
673
+ can be used to install all the required prerequisites for Node.js development
674
+ easily. These files will install the following
675
+ [ WinGet] ( https://learn.microsoft.com/en-us/windows/package-manager/winget/ ) packages:
676
+
677
+ * Git for Windows with the ` git ` and Unix tools added to the ` PATH `
678
+ * ` Python 3.12 `
679
+ * ` Visual Studio 2022 ` (Community, Enterprise or Professional)
680
+ * ` Visual Studio 2022 Build Tools ` with Visual C++ workload, Clang and ClangToolset
681
+ * ` NetWide Assembler `
682
+
683
+ To install Node.js prerequisites from Powershell Terminal:
684
+
685
+ ``` powershell
686
+ winget configure .\configuration.dsc.yaml
687
+ ```
688
+
689
+ Alternatively, you can use [ Dev Home] ( https://learn.microsoft.com/en-us/windows/dev-home/ )
690
+ to install the prerequisites:
691
+
692
+ * Switch to ` Machine Configuration ` tab
693
+ * Click on ` Configuration File `
694
+ * Choose the corresponding WinGet configuration file
695
+ * Click on ` Set up as admin `
696
+
697
+ ##### Option 3: Automated install with Boxstarter
670
698
671
699
A [ Boxstarter] ( https://boxstarter.org/ ) script can be used for easy setup of
672
700
Windows systems with all the required prerequisites for Node.js development.
0 commit comments