Automic VaultAutomic Vault

brew

Install clang-format@11 with Homebrew, apt

Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript. Version 11.1.0 via Homebrew; verified 2026-05-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clang-format@11

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install clang-format

Debian stable package indexes · clang-format · source: deb.debian.org

overview

Package summary

Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript

Commands and aliases

  • clang-format-11
  • git-clang-format-11

history

Project history and usage

clang-format@11 is the versioned Homebrew packaging of LLVM/Clang's formatter for the LLVM 11 era. It exists for projects that need the formatting behavior of that major release instead of whichever clang-format happens to be newest.

Project history

The underlying clang-format tool predates LLVM 11, but the 11.1.0 documentation captures the feature set and command-line behavior for that release line. It documents clang-format as a LibFormat-based standalone tool with editor integrations and project-local .clang-format or _clang-format configuration.

Adoption history

Versioned clang-format packages are useful because formatter output can change across LLVM releases. The supplied package-manager data lists Homebrew clang-format@11 as well as Debian and Ubuntu clang-format packaging, reflecting the need to install or pin specific major versions in build and CI environments.

How it is used

Users run clang-format-11 or git-clang-format-11 from the Homebrew package when a project requires LLVM 11 formatting. Configuration remains project-local via .clang-format or _clang-format, with -style=file and -dump-config documented in the LLVM 11 manual.

Why package nerds care

The package is significant as a version pin rather than a separate upstream. Formatting is often treated as a build contract, so package managers keep older clang-format majors available to avoid style churn in long-lived C, C++, Objective-C, Java, JavaScript, Protobuf, and C# repositories.

Timeline

  • 2013: clang-format documented in Clang 3.3.
  • 2020: LLVM 11.0.0 release line published.
  • 2021: LLVM 11.1.0 documentation preserved the clang-format 11 command-line and style behavior.
  • 2026: Homebrew still distinguishes the versioned clang-format@11 formula from the unversioned clang-format package in the supplied input.

Related projects

  • Related projects include clang-format, git-clang-format, LLVM 11, Clang 11, LibFormat, and unversioned LLVM toolchain packages.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for clang-format@11. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.clang-format_clang-format

executables

Installed executables

CommandKindExposureNote
clang-format-11cliglobal executable
git-clang-format-11cliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version11.1.0
manager updated2026-05-19
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/llvm/llvm-project

install metadata

Package metadata

Package keybrew:clang-format@11
Version11.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clang-format@11
Homepagehttps://clang.llvm.org/docs/ClangFormat.html
Repositoryhttps://github.com/llvm/llvm-project
Upstream docshttps://releases.llvm.org/11.1.0/tools/clang/docs/ClangFormat.html
LicenseApache-2.0
Source archivehttps://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-11.1.0.src.tar.xz
Last updated2026-05-19T13:03:28-04:00
Pulseupdated
Build dependenciescmake
Uses from macOSncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclang-format@11
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt88%

clang-format 1:19.0-63

Tool to format C/C++/Obj-C code

sudo apt install clang-format
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 1 dependencies
  • versioned package alias match
  • Matched by: Clang Format
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clang-format from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt88%

clang-format 1:18.0-59~exp2

Tool to format C/C++/Obj-C code

sudo apt install clang-format
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 1 dependencies
  • versioned package alias match
  • Matched by: Clang Format
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clang-format from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment