Skip to content

Commit 42586bc

Browse files
fujiiRazvan Caliman
authored andcommitted
Update WindowsPort.md December 2023
1 parent 354ca5b commit 42586bc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/Ports/WindowsPort.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ It supports only 64 bit Windows.
1010
Install [the latest Visual Studio with "Desktop development with C++" workload](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation).
1111

1212
Install CMake, Perl, Python, Ruby, gperf, LLVM, and Ninja.
13-
You can use [Chocolatey](https://chocolatey.org/) to install the tools.
13+
Python 3.12 has [a problem for WebKit at the moment](https://webkit.org/b/261113). Use Python 3.11.
1414

15+
You can use [Chocolatey](https://community.chocolatey.org/) to install the tools.
1516
[ActivePerl chocolatey package](https://community.chocolatey.org/packages/ActivePerl) has a problem and no package maintainer now.
1617
XAMPP includes Perl, and running layout tests needs XAMPP. Install XAMPP instead.
1718

1819
```
19-
choco install -y xampp-81 python ruby git cmake gperf llvm ninja
20+
choco install -y xampp-81 python311 ruby git cmake gperf llvm ninja
2021
```
2122

2223
Install pywin32 Python module for run-webkit-tests and git-webkit.
@@ -34,10 +35,10 @@ git config --global core.autocrlf input
3435
### Using winget
3536

3637
If you prefer [winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/) to Chocolatey, you can use it.
37-
Here is the one-liner to install all tools:
38+
Invoke the following command in an elevated PowerShell or cmd prompt.
3839

3940
```
40-
"Git.Git Kitware.CMake Ninja-build.Ninja Python.Python.3.11 RubyInstallerTeam.Ruby.3.1 ApacheFriends.Xampp.8.2 GnuWin32.Gperf LLVM.LLVM" -split " " |% { winget install --scope=machine --id $_ }
41+
winget install --scope=machine --id Git.Git Kitware.CMake Ninja-build.Ninja Python.Python.3.11 RubyInstallerTeam.Ruby.3.2 ApacheFriends.Xampp.8.2 GnuWin32.Gperf LLVM.LLVM
4142
```
4243

4344
If `--scope=machine` isn't specified, Python is installed under your user profile directory.

0 commit comments

Comments
 (0)