Skip to content

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 SystemArchitecturesSupport Type
1macOSarm64Tier 1
2macOSx64Tier 2
3GNU/Linuxarmv7Experimental
4GNU/Linuxarm64Tier 1
5GNU/Linuxppc64le >=power9Tier 2
6GNU/Linuxs390x >=z14Tier 2
7GNU/Linuxx64Tier 1
8Windowsx64Tier 1

TIP

  1. If your platform isn't yet supported, you can build the clang-format native binary from the latest upstream Clang sources. Refer to Build Process and .github/workflows/llvm-build-bump-pr.yml for the build scripts for Linux Shell and GitHub Actions, respectively.

  2. Or you can download clang-format native binary from LLVM release assets that match your operating system platform and architecture like the lists below.

    • LLVM-22.1.8-Linux-ARM64.tar.xz
    • clang+llvm-22.1.8-armv7a-linux-gnueabihf.tar.gz
    • clang+llvm-22.1.8-x86_64-pc-windows-msvc.tar.xz
    • and more...

Node.js Version

Node Current

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.

ImageYAML LabelIncluded Software
macOS 15macos-15-largemacOS-15
macOS 15 Arm64macos-15 or macos-15-xlargemacOS-15-arm64
macOS 14macos-14-largemacOS-14
macOS 14 Arm64macos-14 or macos-14-xlargemacOS-14-arm64
Ubuntu 24.04ubuntu-latest or ubuntu-24.04ubuntu-24.04
Ubuntu 22.04ubuntu-22.04ubuntu-22.04
Windows Server 2025windows-latest or windows-2025windows-2025
Windows Server 2022windows-2022windows-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 NameDocker Build ImageDocker Test Image
darwin-arm64GitHub Actions runner macos-14GitHub Actions runner macos-14
darwin-x64GitHub Actions runner macos-15-intelGitHub Actions runner macos-15-intel
linux-armpython:3.10.18-bullseyearm32v7/ubuntu:22.04
linux-arm64python:3.10.18-bullseyearm64v8/ubuntu:22.04
linux-ppc64buildpack-deps:jammyppc64le/ubuntu:22.04
linux-s390xbuildpack-deps:jammys390x/ubuntu:22.04
linux-x64GitHub Actions runner ubuntu-22.04GitHub Actions runner ubuntu-22.04
win32-x64GitHub Actions runner windows-2022GitHub Actions runner windows-2022