Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, apk, dnf, pacman, zypper, chocolatey, apt, Nix, scoop, winget 安装 llvm@20

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install llvm@20

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install llvm-20

MacPorts ports tree · lang/llvm-20/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add llvm20

Alpine Linux edge package indexes · llvm20 · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install llvm20

Fedora Rawhide package metadata · llvm20 · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S llvm20

Arch Linux sync databases · llvm20 · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install llvm20

openSUSE Tumbleweed package metadata · llvm20 · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install llvm

Debian stable package indexes · llvm · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#llvm

nixpkgs package indexes · llvm · 来源: raw.githubusercontent.com

Windows

Chocolatey已验证 · 92%
choco install llvm

Chocolatey community package catalog · llvm · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/llvm

Scoop official bucket manifest trees · bucket/llvm.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id LLVM.LLVM -e

Windows Package Manager source index · LLVM.LLVM · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Next-gen compiler infrastructure

命令和别名

  • clang-20

历史

项目历史与用法

LLVM 20 is the Homebrew versioned formula for the LLVM 20.x compiler infrastructure series, bundling Clang, LLVM command-line tools, LLD, MLIR utilities, and related developer tooling.

项目历史

LLVM began as a University of Illinois research project to provide a modern SSA-based compilation strategy for static and dynamic compilation. The project made its 1.0 release in October 2003 and later grew into an umbrella for compiler, debugger, runtime, linker, and analysis subprojects.

The upstream project describes LLVM as a collection of modular and reusable compiler and toolchain technologies rather than a single compiler. Its core libraries provide optimizer and code-generation infrastructure around LLVM IR, while Clang, LLD, LLDB, libc++, compiler-rt, MLIR, OpenMP, and other subprojects build on that base.

采用历史

LLVM moved from academic compiler infrastructure into mainstream production use across commercial, open source, and research projects. The project highlights external users spanning language implementations, JITs, static analysis tools, linkers, debuggers, and high-performance computing toolchains.

For package managers, LLVM's release train and large set of CLI tools made it a common versioned dependency. Versioned formulae such as llvm@20 let users pin a major compiler stack while newer major releases continue to land.

使用方式

Package users install LLVM for Clang and clang++, clang-format, clang-tidy, clangd, LLD, llvm-ar, llvm-objdump, llvm-config, opt, llc, FileCheck, MLIR tools, and many other compiler-development utilities. Upstream getting-started documentation centers on cloning llvm-project, configuring with CMake, and selecting enabled subprojects such as clang and lld.

Clang is documented as a C, C++, and Objective-C compiler driver that handles preprocessing, parsing, optimization, code generation, assembly, and linking, while transparently invoking lower-level compiler and linker tools.

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

LLVM is one of the canonical package-manager stress tests: huge source trees, many binaries, CMake builds, multiple runtime libraries, and a steady major-version cadence. Versioned formulae matter because downstream projects often need a specific Clang/LLVM ABI or tool behavior.

LLVM 20 is a major pinned compiler stack for users who want post-LLVM-19 features without taking the latest upstream major. In packaging terms, it is useful for CI images, language runtimes, and source builds that must align LLVM libraries, clang tools, and llvm-config.

时间线

  • 2000: LLVM starts as a University of Illinois research project.
  • 2003-10-24: LLVM 1.0 is released.
  • 2012: LLVM receives the ACM Software System Award.
  • 2025-03-04: LLVM 20.1.0 is released.
  • 2025: Homebrew exposes LLVM 20 through the versioned llvm@20 formula.

Related projects

  • Clang, LLD, LLDB, libc++, compiler-rt, MLIR, OpenMP, Flang, BOLT, and the monorepo at github.com/llvm/llvm-project are the main related upstream projects.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本20.1.8
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:llvm@20
版本20.1.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/llvm@20
主页https://llvm.org/
仓库https://github.com/llvm/llvm-project
上游文档https://llvm.org/docs
许可证Apache-2.0 WITH LLVM-exception
源码归档https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-project-20.1.8.src.tar.xz
最后更新2026-06-25T13:37:49+02:00
Pulseupdated
依赖zstd
构建依赖cmake, ninja, python@3.14
macOS 提供的库libedit, libffi
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install已定义
服务未声明
注意事项CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang CLANG_CONFIG_FILE_USER_DIR: ~/.config/clang LLD is now provided in a separate formula: brew install lld@20 Using `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`. If you don't want to install the CLT, you can write appropriate configuration files pointing to your SDK at ~/.config/clang. To use the bundled libunwind please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@20/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@20/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@20/lib/unwind -lunwind" NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namellvm@20
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

MacPorts95%

llvm-20

sudo port install llvm-20
  • normalized package name match
  • 匹配方式:Llvm 20
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/llvm-20/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

llvm20 20.1.8-r1

Low Level Virtual Machine compiler system, version 20

https://llvm.org/

sudo apk add llvm20
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-dev 20.1.8-r1

Low Level Virtual Machine compiler system, version 20 (development files)

https://llvm.org/

sudo apk add llvm20-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-gtest 20.1.8-r1

LLVM 20 gtest static libraries

https://llvm.org/

sudo apk add llvm20-gtest
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-gtest from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-libs 20.1.8-r1

LLVM 20 runtime library

https://llvm.org/

sudo apk add llvm20-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-linker-tools 20.1.8-r1

Low Level Virtual Machine compiler system, version 20 (linker plugins)

https://llvm.org/

sudo apk add llvm20-linker-tools
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • 1 依赖
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-linker-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-static 20.1.8-r1

LLVM 20 static libraries

https://llvm.org/

sudo apk add llvm20-static
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-test-utils 20.1.8-r1

LLVM 20 utilities for executing LLVM and Clang style test suites

https://llvm.org/

sudo apk add llvm20-test-utils
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-test-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

llvm20-test-utils-pyc 20.1.8-r1

Precompiled Python bytecode for llvm20-test-utils

https://llvm.org/

sudo apk add llvm20-test-utils-pyc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm20
  • 1 依赖
  • package manager index match
  • 匹配方式:Llvm20
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm20-test-utils-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

clang20 20.1.8-9.fc45

A C language family front-end for LLVM

http://llvm.org

sudo dnf install clang20
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm20
  • 10 依赖
  • 2 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

clang20-analyzer 20.1.8-9.fc45

A source code analysis framework

http://llvm.org

sudo dnf install clang20-analyzer
  • License: Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: llvm20
  • 4 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20-analyzer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

clang20-devel 20.1.8-9.fc45

Development header files for clang

http://llvm.org

sudo dnf install clang20-devel
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm20
  • 12 依赖
  • 2 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

clang20-libs 20.1.8-9.fc45

Runtime library for clang

http://llvm.org

sudo dnf install clang20-libs
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm20
  • 9 依赖
  • 3 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

clang20-resource-filesystem 20.1.8-9.fc45

Filesystem package that owns the clang resource directory

http://llvm.org

sudo dnf install clang20-resource-filesystem
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm20
  • 3 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20-resource-filesystem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

clang20-tools-extra 20.1.8-9.fc45

Extra tools for clang

http://llvm.org

sudo dnf install clang20-tools-extra
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm20
  • 13 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20-tools-extra from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

clang20-tools-extra-devel 20.1.8-9.fc45

Development header files for clang tools

http://llvm.org

sudo dnf install clang20-tools-extra-devel
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm20
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm20
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang20-tools-extra-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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