pkg.soopen package index

brew / 排名 867

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

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

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

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

Linux

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

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

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

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

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

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

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

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

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

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

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

Arch Linux sync databases · llvm · 来源: geo.mirror.pkgbuild.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

命令和别名

本地软件包数据库中没有找到可执行别名。

历史

项目历史与用法

LLVM 22 is a versioned distribution of the LLVM compiler and toolchain ecosystem. It packages LLVM libraries together with Clang, MLIR, binary utilities, analysis tools, language-server tooling, and numerous target-independent development utilities.

项目历史

LLVM began as a University of Illinois research project aimed at an SSA-based compilation strategy supporting both static and dynamic compilation. It evolved into a collection of reusable compiler and toolchain technologies rather than a traditional virtual machine.

The project expanded into an umbrella for LLVM Core, Clang, LLD, libc++, MLIR, and other subprojects. The formerly separate repositories were consolidated into the unified llvm-project Git repository, simplifying coordinated development and release management.

采用历史

LLVM grew from an academic compiler-research project into an umbrella project used by commercial products, open-source systems, and research projects. Clang's adoption as a production C-family compiler and LLVM's reusable optimizer and code-generation libraries established the ecosystem as a major alternative to traditional monolithic compiler suites.

Distribution packages and versioned formulas let developers install LLVM alongside system compilers without replacing them. The llvm@22 formula serves users who need the LLVM 22 toolchain generation after the unversioned formula advances.

使用方式

Developers use the package to compile C and C++ with Clang, transform or inspect LLVM IR, generate machine code, analyze source, format code, provide clangd editor integration, inspect binaries, gather coverage, and build compiler-related projects.

Because Homebrew's LLVM is installed separately from Apple's system toolchain, builds commonly select it explicitly through PATH, CC/CXX, or CMake compiler settings. Individual llvm-* commands are also useful independently of Clang.

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

LLVM is unusually rich package-manager territory: a single installation supplies compilers, optimizers, assemblers, binary utilities, debuggability tools, language servers, static-analysis tools, coverage tools, and MLIR utilities. Versioned packages matter because compiler behavior, supported targets, ABI expectations, and build-system compatibility can change between major releases.

LLVM also underpins many adjacent language runtimes and developer tools. Package maintainers routinely use its individual utilities as drop-in or cross-platform alternatives to GNU and platform-specific tools.

时间线

  • 2000: LLVM began as a research project at the University of Illinois.
  • 2003: LLVM's public project documentation and early releases established the reusable compiler-infrastructure project.
  • 2019: LLVM subprojects were consolidated into the unified llvm-project Git repository.
  • 2026: The llvm@22 formula preserves the LLVM 22 toolchain generation as an explicitly versioned installation.

Related projects

  • Clang is LLVM's C-family compiler frontend.
  • LLD is the LLVM linker.
  • MLIR supplies reusable multi-level intermediate-representation infrastructure.
  • libc++ and compiler-rt provide runtime and standard-library components.
  • GNU Compiler Collection and GNU Binutils are common alternative or complementary toolchains.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
没有可执行文件数据。

新鲜度

版本和新鲜度

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

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

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

安装元数据

软件包元数据

软件包键brew:llvm@22
版本22.1.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/llvm@22
主页https://llvm.org/
仓库https://github.com/llvm/llvm-project
上游文档https://llvm.org/
许可证Apache-2.0 WITH LLVM-exception
源码归档https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz
最后更新2026-09-11T07:34:05Z
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@22 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@22/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@22/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@22/lib/unwind -lunwind" Features newer than system libc++ will require the following define to enable: CPPFLAGS="-D_LIBCPP_DISABLE_AVAILABILITY" 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@22
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

llvm_22

nix profile install nixpkgs#llvm_22
  • normalized package name match
  • 匹配方式:Llvm 22
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: llvm_22 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
MacPorts95%

llvm-22

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

llvm22 22.1.8-r1

Low Level Virtual Machine compiler system, version 22

https://llvm.org/

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

llvm22-dev 22.1.8-r1

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

https://llvm.org/

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

llvm22-gtest 22.1.8-r1

LLVM 22 gtest static libraries

https://llvm.org/

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

llvm22-libs 22.1.8-r1

LLVM 22 runtime library

https://llvm.org/

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

llvm22-linker-tools 22.1.8-r1

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

https://llvm.org/

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

llvm22-static 22.1.8-r1

LLVM 22 static libraries

https://llvm.org/

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

llvm22-test-utils 22.1.8-r1

LLVM 22 utilities for executing LLVM and Clang style test suites

https://llvm.org/

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

llvm22-test-utils-pyc 22.1.8-r1

Precompiled Python bytecode for llvm22-test-utils

https://llvm.org/

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

clang-tools 22.1.8-2.1

Tools for Clang

https://clang-analyzer.llvm.org/

sudo zypper install clang-tools
  • License: Apache-2.0 WITH LLVM-exception AND NCSA
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: llvm22
  • 8 依赖
  • 4 提供
  • package manager index match
  • 匹配方式:Llvm22
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clang-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper92%

clang22 22.1.8-2.1

CLANG frontend for LLVM

https://clang.llvm.org/

sudo zypper install clang22
  • License: Apache-2.0 WITH LLVM-exception AND NCSA
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: llvm22
  • 13 依赖
  • 2 提供
  • package manager index match
  • 匹配方式:Llvm22
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clang22 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper92%

clang22-devel 22.1.8-2.1

CLANG frontend for LLVM (devel package)

https://www.llvm.org/

sudo zypper install clang22-devel
  • License: Apache-2.0 WITH LLVM-exception AND NCSA
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: llvm22
  • 6 依赖
  • 2 提供
  • package manager index match
  • 匹配方式:Llvm22
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clang22-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper92%

clang22-doc 22.1.8-2.1

Documentation for Clang

https://www.llvm.org/

sudo zypper install clang22-doc
  • License: Apache-2.0 WITH LLVM-exception AND NCSA
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: llvm22
  • 2 提供
  • package manager index match
  • 匹配方式:Llvm22
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clang22-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper92%

libLLVM22 22.1.8-2.1

Libraries for LLVM

https://www.llvm.org/

sudo zypper install libLLVM22
  • License: Apache-2.0 WITH LLVM-exception AND NCSA
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: llvm22
  • 10 依赖
  • 4 提供
  • package manager index match
  • 匹配方式:Llvm22
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libLLVM22 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper92%

libLLVM22-32bit 22.1.8-2.1

Libraries for LLVM

https://www.llvm.org/

sudo zypper install libLLVM22-32bit
  • License: Apache-2.0 WITH LLVM-exception AND NCSA
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: llvm22
  • 10 依赖
  • 4 提供
  • package manager index match
  • 匹配方式:Llvm22
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libLLVM22-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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