Skip to content

Supported

The following content applies to all packages within clang-format-node repository.

OS Platforms and Architectures

Each package supports ALL Tier1 and some Tier2 platforms of Node.js. Note that the functionality cannot be guaranteed on platforms which is not mentioned below.

(To see the full list of platforms supported by Node.js, click here.)


Operating SystemArchitecturesSupport Type
1macOSarm64Tier 1
2macOSx64Tier 1
3GNU/Linuxarmv7Tier 1
4GNU/Linuxarm64Tier 1
5GNU/Linuxppc64le >=power8Tier 2
6GNU/Linuxs390xTier 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.

    • clang+llvm-18.1.8-aarch64-linux-gnu.tar.xz
    • clang+llvm-18.1.8-armv7a-linux-gnueabihf.tar.gz
    • clang+llvm-18.1.8-powerpc64-ibm-aix-7.2.tar.xz
    • clang+llvm-18.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.

However, this package does not utilize the latest features of Node.js and is transpiled using Babel. Therefore, it is expected to work on versions significantly lower than the officially supported ones. (ex. "node": ">= 0.7.10") Consequently, if the current package operates on a version of Node.js that is lower than the officially supported version, it should be perfectly fine to use.

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-latest-large or macos-14-largemacOS-14
macOS 14 Arm64macos-latest, macos-14, macos-latest-xlarge or macos-14-xlargemacOS-14-arm64
macOS 13macos-13 or macos-13-largemacOS-13
macOS 13 Arm64macos-13-xlargemacOS-13-arm64
Ubuntu 24.04ubuntu-latest or ubuntu-24.04ubuntu-24.04
Ubuntu 22.04ubuntu-22.04ubuntu-22.04
Windows Server 2022windows-latest or windows-2022windows-2022

However, the following basic runner images are NOT compatible(available) with clang-format-node. It's because the dependencies for LLVM's latest release version are not compatible with the following images.

ImageYAML LabelIncluded Software
Ubuntu 20.04ubuntu-20.04ubuntu-20.04
Windows Server 2019windows-2019windows-2019

Docker Build Images

We used the following Images to build clang-format excuatable 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) Image
darwin-arm64GitHub Actions runner macos-14
darwin-x64GitHub Actions runner macos-13
linux-armarm32v7/ubuntu:22.04
linux-arm64arm64v8/ubuntu:22.04
linux-ppc64ppc64le/ubuntu:22.04
linux-s390xs390x/ubuntu:22.04
linux-x64GitHub Actions runner ubuntu-22.04
win32-x64GitHub Actions runner windows-2022