@@ -156,7 +156,7 @@ Depending on the host platform, the selection of toolchains may vary.
156156
157157| Operating System | Compiler Versions |
158158| ---------------- | ------------------------------------------------------------------- |
159- | Linux | GCC >= 12.2 or Clang >= 19.1 |
159+ | Linux | Clang >= 19.1 or GCC >= 13.2 (experimental) |
160160| Windows | Visual Studio 2022 or 2026 with the Windows 11 SDK on a 64-bit host |
161161| macOS | Xcode >= 16.4 (Apple LLVM >= 19) |
162162
@@ -238,19 +238,19 @@ Consult previous versions of this document for older versions of Node.js:
238238
239239#### Unix prerequisites
240240
241- * ` gcc ` and ` g ++` >= 12.2 or ` clang ` and ` clang ++` >= 19.1
241+ * ` clang ` and ` clang ++` >= 19.1 or ` gcc ` and ` g ++` >= 13.2 (experimental)
242242* GNU Make 3.81 or newer
243243* [ A supported version of Python] [ Python versions ]
244244 * For test coverage, your Python installation must include pip.
245245
246246Installation via Linux package manager can be achieved with:
247247
248248* Nix, NixOS: ` nix-shell `
249- * Ubuntu, Debian: ` sudo apt-get install python3 g++-12 gcc-12 make python3-pip `
250- * Fedora: ` sudo dnf install python3 gcc-c++ make python3-pip `
251- * CentOS and RHEL: ` sudo yum install python3 gcc-c++ make python3-pip `
252- * OpenSUSE: ` sudo zypper install python3 gcc-c++ make python3-pip `
253- * Arch Linux, Manjaro: ` sudo pacman -S python gcc make python-pip `
249+ * Ubuntu, Debian: ` sudo apt-get install python3 clang-19 make python3-pip `
250+ * Fedora: ` sudo dnf install python3 clang make python3-pip `
251+ * CentOS and RHEL: ` sudo yum install python3 clang make python3-pip `
252+ * OpenSUSE: ` sudo zypper install python3 clang make python3-pip `
253+ * Arch Linux, Manjaro: ` sudo pacman -S python clang make python-pip `
254254
255255FreeBSD and OpenBSD users may also need to install ` libexecinfo ` .
256256
@@ -660,8 +660,8 @@ need to install the latest version but not the apt version.
660660
661661``` bash
662662sudo apt install ccache mold # for Debian/Ubuntu, included in most Linux distros
663- export CC=" ccache gcc " # add to your .profile
664- export CXX=" ccache g ++" # add to your .profile
663+ export CC=" ccache clang " # add to your .profile
664+ export CXX=" ccache clang ++" # add to your .profile
665665export LDFLAGS=" -fuse-ld=mold" # add to your .profile
666666```
667667
0 commit comments