macOS
brew install clang-formatlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für clang-format in AI-Agent-Workflows.
Installation
brew install clang-formatlocal Homebrew formula metadata
sudo apt install clang-formatDebian stable package indexes · clang-format · Quelle: deb.debian.org
sudo dnf install git-clang-formatFedora Rawhide package metadata · git-clang-format · Quelle: dl.fedoraproject.org
Überblick
Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript
Verlauf
clang-format is LLVM/Clang's source formatter and editor-integration tool for C-family and several adjacent languages. It became a standard package-manager dependency because teams can install one CLI and enforce formatting locally, in editors, in Git workflows, and in CI.
LLVM's Clang 3.3 documentation already described ClangFormat as tools built on LibFormat, with a standalone clang-format binary under clang/tools/clang-format. Later documentation expanded language coverage, configuration files, ignore files, and editor integrations.
The supplied package-manager data shows Homebrew, Debian, Fedora/DNF, and Ubuntu packaging. Its adoption is reinforced by direct editor integration in Vim, Emacs, BBEdit, CLion, Visual Studio, and similar tooling documented by LLVM.
Users run clang-format over files or standard input, often with -i for in-place edits. Project style is commonly stored in .clang-format or _clang-format, generated with -dump-config, and found by using -style=file.
clang-format is significant because it decouples source formatting policy from any one IDE. Package managers provide a pinned binary that projects can call from hooks, CI jobs, editor plugins, and language-server-style workflows, making formatting reproducible across operating systems.
Sicherheitslage
Für clang-format wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
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.
Config paths the tool may read or write during local use.
.clang-format_clang-formatExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
clang-format | cli | globales Executable | |
git-clang-format | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/llvm/llvm-project
Installationsmetadaten
| Paketschlüssel | brew:clang-format |
|---|---|
| Version | 22.1.8 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/clang-format |
| Homepage | https://clang.llvm.org/docs/ClangFormat.html |
| Repository | https://github.com/llvm/llvm-project |
| Upstream-Dokumentation | https://clang.llvm.org/docs/ClangFormat.html |
| Lizenz | Apache-2.0 WITH LLVM-exception |
| Quellarchiv | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| Zuletzt aktualisiert | 2026-06-16T19:45:28Z |
| Pulse | updated |
| Build-Abhängigkeiten | cmake |
| Von macOS bereitgestellte Bibliotheken | python |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clang-format |
| Aliases |
|
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
clang-format 1:19.0-63
Tool to format C/C++/Obj-C code
sudo apt install clang-formatclang-format 1:18.0-59~exp2
Tool to format C/C++/Obj-C code
sudo apt install clang-formatgit-clang-format 22.1.7-1.fc45
Integration of clang-format for git
sudo dnf install git-clang-formatQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.