Supported
The following content applies to all packages within clang-format-node repository.
OS Platforms and Architectures
Each package supports ALL Tier 1 and some Tier 2 platforms of Node.js. Note that the functionality cannot be guaranteed on platforms that are not mentioned below.
(To see the full list of platforms supported by Node.js, click here.)
| Operating System | Architectures | Support Type | |
|---|---|---|---|
| 1 | macOS | arm64 | Tier 1 |
| 2 | macOS | x64 | Tier 2 |
| 3 | GNU/Linux | armv7 | Experimental |
| 4 | GNU/Linux | arm64 | Tier 1 |
| 5 | GNU/Linux | ppc64le >=power9 | Tier 2 |
| 6 | GNU/Linux | s390x >=z14 | Tier 2 |
| 7 | GNU/Linux | x64 | Tier 1 |
| 8 | Windows | x64 | Tier 1 |
TIP
If your platform isn't yet supported, you can build the
clang-formatnative binary from the latest upstream Clang sources. Refer to Build Process and.github/workflows/llvm-build-bump-pr.ymlfor the build scripts for Linux Shell and GitHub Actions, respectively.Or you can download
clang-formatnative binary from LLVM release assets that match your operating system platform and architecture like the lists below.LLVM-22.1.8-Linux-ARM64.tar.xzclang+llvm-22.1.8-armv7a-linux-gnueabihf.tar.gzclang+llvm-22.1.8-x86_64-pc-windows-msvc.tar.xz- and more...
Node.js Version
The official support for Node.js version 16 and above has been confirmed through testing.
Earlier versions of Node.js may still work, but versions below Node.js 16 are not tested or officially supported.
GitHub Actions Runner Images
If you want to use clang-format-node or clang-format-git in continuous integration (CI), You can use GitHub Actions. The following basic runner images are compatible(available) with clang-format-node.
| Image | YAML Label | Included Software |
|---|---|---|
| macOS 15 | macos-15-large | macOS-15 |
| macOS 15 Arm64 | macos-15 or macos-15-xlarge | macOS-15-arm64 |
| macOS 14 | macos-14-large | macOS-14 |
| macOS 14 Arm64 | macos-14 or macos-14-xlarge | macOS-14-arm64 |
| Ubuntu 24.04 | ubuntu-latest or ubuntu-24.04 | ubuntu-24.04 |
| Ubuntu 22.04 | ubuntu-22.04 | ubuntu-22.04 |
| Windows Server 2025 | windows-latest or windows-2025 | windows-2025 |
| Windows Server 2022 | windows-2022 | windows-2022 |
Docker Build Images
We used the following images to build clang-format executable binaries.
TIP
If you want to see which software is included in GitHub Actions runner, click here and refer to the 'Included Software' column.
| Binary Folder Name | Docker Build Image | Docker Test Image |
|---|---|---|
darwin-arm64 | GitHub Actions runner macos-14 | GitHub Actions runner macos-14 |
darwin-x64 | GitHub Actions runner macos-15-intel | GitHub Actions runner macos-15-intel |
linux-arm | python:3.10.18-bullseye | arm32v7/ubuntu:22.04 |
linux-arm64 | python:3.10.18-bullseye | arm64v8/ubuntu:22.04 |
linux-ppc64 | buildpack-deps:jammy | ppc64le/ubuntu:22.04 |
linux-s390x | buildpack-deps:jammy | s390x/ubuntu:22.04 |
linux-x64 | GitHub Actions runner ubuntu-22.04 | GitHub Actions runner ubuntu-22.04 |
win32-x64 | GitHub Actions runner windows-2022 | GitHub Actions runner windows-2022 |