macOS
brew install llvm@21local Homebrew formula metadata
sudo port install llvm-21MacPorts ports tree · lang/llvm-21/Portfile · ソース: api.github.com
brew
llvm@21 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install llvm@21local Homebrew formula metadata
sudo port install llvm-21MacPorts ports tree · lang/llvm-21/Portfile · ソース: api.github.com
sudo apk add llvm21Alpine Linux edge package indexes · llvm21 · ソース: dl-cdn.alpinelinux.org
sudo dnf install llvm21Fedora Rawhide package metadata · llvm21 · ソース: dl.fedoraproject.org
sudo pacman -S llvm21Arch Linux sync databases · llvm21 · ソース: geo.mirror.pkgbuild.com
sudo zypper install llvm21openSUSE Tumbleweed package metadata · llvm21 · ソース: download.opensuse.org
nix profile install nixpkgs#llvmnixpkgs package indexes · llvm · ソース: raw.githubusercontent.com
choco install llvmChocolatey community package catalog · llvm · ソース: community.chocolatey.org
scoop install main/llvmScoop official bucket manifest trees · bucket/llvm.json · ソース: api.github.com
winget install --id LLVM.LLVM -eWindows Package Manager source index · LLVM.LLVM · ソース: cdn.winget.microsoft.com
概要
Next-gen compiler infrastructure
履歴
LLVM 21 is the Homebrew versioned formula for the LLVM 21.x compiler infrastructure series, including Clang, LLVM command-line tools, LLD, MLIR tools, and related toolchain components.
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@21 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 21 is a recent pinned major for users who want a modern LLVM stack without tracking the latest release. It is useful in package sets that carry several LLVM majors so source builds can choose the compiler API, optimizer behavior, and clang tool versions they were tested with.
セキュリティ状態
llvm@21 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
clang-21 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/llvm/llvm-project
インストールメタデータ
| パッケージキー | brew:llvm@21 |
|---|---|
| バージョン | 21.1.8 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/llvm@21 |
| ホームページ | 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-21.1.8/llvm-project-21.1.8.src.tar.xz |
| 最終更新 | 2026-06-25T13:37:50+02:00 |
| Pulse | updated |
| 依存関係 | 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@21 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@21/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@21/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@21/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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm@21 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
llvm-21
sudo port install llvm-21llvm21 21.1.8-r1
Low Level Virtual Machine compiler system, version 21
sudo apk add llvm21llvm21-dev 21.1.8-r1
Low Level Virtual Machine compiler system, version 21 (development files)
sudo apk add llvm21-devllvm21-gtest 21.1.8-r1
LLVM 21 gtest static libraries
sudo apk add llvm21-gtestllvm21-libs 21.1.8-r1
LLVM 21 runtime library
sudo apk add llvm21-libsllvm21-linker-tools 21.1.8-r1
Low Level Virtual Machine compiler system, version 21 (linker plugins)
sudo apk add llvm21-linker-toolsllvm21-static 21.1.8-r1
LLVM 21 static libraries
sudo apk add llvm21-staticllvm21-test-utils 21.1.8-r1
LLVM 21 utilities for executing LLVM and Clang style test suites
sudo apk add llvm21-test-utilsllvm21-test-utils-pyc 21.1.8-r1
Precompiled Python bytecode for llvm21-test-utils
sudo apk add llvm21-test-utils-pycclang21 21.1.8-6.fc45
A C language family front-end for LLVM
sudo dnf install clang21clang21-analyzer 21.1.8-6.fc45
A source code analysis framework
sudo dnf install clang21-analyzerclang21-devel 21.1.8-6.fc45
Development header files for clang
sudo dnf install clang21-develclang21-libs 21.1.8-6.fc45
Runtime library for clang
sudo dnf install clang21-libsclang21-resource-filesystem 21.1.8-6.fc45
Filesystem package that owns the clang resource directory
sudo dnf install clang21-resource-filesystemclang21-tools-extra 21.1.8-6.fc45
Extra tools for clang
sudo dnf install clang21-tools-extraclang21-tools-extra-devel 21.1.8-6.fc45
Development header files for clang tools
sudo dnf install clang21-tools-extra-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.