Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 clang-format@11

查看 clang-format@11 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clang-format@11

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install clang-format

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

概览

软件包摘要

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

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 clang-format@11 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clang-format-11cli全局可执行文件
git-clang-format-11cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本11.1.0
管理器更新时间2026-05-19
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:clang-format@11
版本11.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/clang-format@11
主页https://clang.llvm.org/docs/ClangFormat.html
仓库https://github.com/llvm/llvm-project
上游文档https://releases.llvm.org/11.1.0/tools/clang/docs/ClangFormat.html
许可证Apache-2.0
源码归档https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-11.1.0.src.tar.xz
最后更新2026-05-19T13:03:28-04:00
Pulseupdated
构建依赖cmake
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • versioned package alias match
  • 匹配方式: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 依赖
  • versioned package alias match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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