macOS
brew install llvmlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de llvm pour les workflows d'agents IA.
installation
brew install llvmlocal Homebrew formula metadata
sudo apk add llvmAlpine Linux edge package indexes · llvm · Source: dl-cdn.alpinelinux.org
sudo apt install llvmDebian stable package indexes · llvm · Source: deb.debian.org
sudo dnf install llvmFedora Rawhide package metadata · llvm · Source: dl.fedoraproject.org
nix profile install nixpkgs#llvmnixpkgs package indexes · llvm · Source: raw.githubusercontent.com
sudo pacman -S llvmArch Linux sync databases · llvm · Source: geo.mirror.pkgbuild.com
sudo zypper install llvmopenSUSE Tumbleweed package metadata · llvm · Source: download.opensuse.org
choco install llvmChocolatey community package catalog · llvm · Source: community.chocolatey.org
scoop install main/llvmScoop official bucket manifest trees · bucket/llvm.json · Source: api.github.com
winget install --id LLVM.LLVM -eWindows Package Manager source index · LLVM.LLVM · Source: cdn.winget.microsoft.com
aperçu
Next-gen compiler infrastructure
historique
LLVM is a modular compiler and toolchain infrastructure project packaged by Homebrew as the current llvm formula. It includes the LLVM core libraries and command-line tools, the Clang compiler frontend, LLDB debugger, LLD linker, libc++, MLIR tooling, and many smaller developer utilities.
LLVM began as a University of Illinois research project to provide a modern SSA-based compilation strategy for static and dynamic languages. The official LLVM homepage describes the project as a collection of modular and reusable compiler and toolchain technologies, with LLVM now functioning as a project name rather than an acronym for a virtual machine.
The project grew from core optimizer and code-generation libraries into an umbrella project. The official overview lists major subprojects such as Clang for C-family languages, LLDB for native debugging, LLD for linking, libc++ for the C++ standard library, Flang for Fortran, and MLIR infrastructure for compiler construction. The GitHub README describes the repository as source for compilers, optimizers, and run-time environments.
LLVM became a package-manager staple because it is both an end-user toolchain and a dependency for other language runtimes, build systems, static analyzers, editor integrations, and cross-compilation stacks. The official homepage notes production use by commercial and open-source projects and continued academic use, which matches the broad package-manager coverage shown in the input metadata.
For Homebrew users, llvm is often installed to obtain a newer clang than Apple's system compiler, a full llvm-config and library stack, up-to-date linker and object-file tools, clang-format, clang-tidy, clangd, lldb, and architecture-specific utilities. Versioned Homebrew formulae such as llvm@14 through llvm@17 exist because downstream projects frequently need a stable ABI, code-generation behavior, or plugin API tied to a specific LLVM major release.
Users install llvm to compile C, C++, Objective-C, and other LLVM-backed languages; run optimizer and code-generation tools such as opt and llc; inspect and transform object files with llvm-objdump, llvm-nm, llvm-ar, and llvm-strip; debug with lldb; format and analyze C-family source with clang-format, clang-tidy, and clangd; and build other packages that need llvm-config or LLVM libraries.
The package is also a build dependency for projects that embed LLVM as a library, generate LLVM IR, ship compiler plugins, or need MLIR and TableGen tooling. In package-manager culture, llvm is less a single command than a large toolchain substrate whose installed prefix can change the behavior of many builds.
LLVM is one of the most consequential developer-tool packages in Unix package managers: it provides compilers, linkers, debuggers, binary utilities, formatters, language servers, and libraries that other packages compile against. Its formula is watched closely because a major LLVM bump can reveal C++ standard-library issues, linker changes, sanitizer behavior changes, and downstream projects that accidentally depended on private compiler internals.
The package is also historically important because it displaced the idea that a system compiler was a monolith. LLVM's reusable libraries let package ecosystems build many language frontends, analyzers, and toolchain experiments on common optimizer and code-generation components.
posture de sécurité
compiler and toolchain runtime.
risque yellow · confiance élevé · runtime
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
FileCheck | cli | exécutable global | |
UnicodeNameMappingGenerator | cli | exécutable global | |
amdgpu-arch | cli | exécutable global | |
analyze-build | cli | exécutable global | |
bugpoint | cli | exécutable global | |
clang | cli | exécutable global | |
clang++ | cli | exécutable global | |
clang-22 | cli | exécutable global | |
clang-apply-replacements | cli | exécutable global | |
clang-change-namespace | cli | exécutable global | |
clang-check | cli | exécutable global | |
clang-cl | cli | exécutable global | |
clang-cpp | cli | exécutable global | |
clang-doc | cli | exécutable global | |
clang-extdef-mapping | cli | exécutable global | |
clang-include-cleaner | cli | exécutable global | |
clang-include-fixer | cli | exécutable global | |
clang-installapi | cli | exécutable global | |
clang-linker-wrapper | cli | exécutable global | |
clang-move | cli | exécutable global | |
clang-nvlink-wrapper | cli | exécutable global | |
clang-offload-bundler | cli | exécutable global | |
clang-offload-packager | cli | exécutable global | |
clang-query | cli | exécutable global | |
clang-refactor | cli | exécutable global | |
clang-reorder-fields | cli | exécutable global | |
clang-repl | cli | exécutable global | |
clang-scan-deps | cli | exécutable global | |
clang-sycl-linker | cli | exécutable global | |
clang-tblgen | cli | exécutable global | |
clang-tidy | cli | exécutable global | |
clangd | cli | exécutable global | |
count | cli | exécutable global | |
diagtool | cli | exécutable global | |
dsymutil | cli | exécutable global | |
find-all-symbols | cli | exécutable global | |
hmaptool | cli | exécutable global | |
intercept-build | cli | exécutable global | |
llc | cli | exécutable global | |
lldb | cli | exécutable global | |
lldb-argdumper | cli | exécutable global | |
lldb-dap | cli | exécutable global | |
lldb-instr | cli | exécutable global | |
lldb-mcp | cli | exécutable global | |
lldb-server | cli | exécutable global | |
lldb-tblgen | cli | exécutable global | |
lli | cli | exécutable global | |
lli-child-target | cli | exécutable global | |
llvm-PerfectShuffle | cli | exécutable global | |
llvm-addr2line | cli | exécutable global | |
llvm-ar | cli | exécutable global | |
llvm-as | cli | exécutable global | |
llvm-bcanalyzer | cli | exécutable global | |
llvm-bitcode-strip | cli | exécutable global | |
llvm-c-test | cli | exécutable global | |
llvm-cas | cli | exécutable global | |
llvm-cat | cli | exécutable global | |
llvm-cfi-verify | cli | exécutable global | |
llvm-cgdata | cli | exécutable global | |
llvm-config | cli | exécutable global | |
llvm-cov | cli | exécutable global | |
llvm-ctxprof-util | cli | exécutable global | |
llvm-cvtres | cli | exécutable global | |
llvm-cxxdump | cli | exécutable global | |
llvm-cxxfilt | cli | exécutable global | |
llvm-cxxmap | cli | exécutable global | |
llvm-debuginfo-analyzer | cli | exécutable global | |
llvm-debuginfod | cli | exécutable global | |
llvm-debuginfod-find | cli | exécutable global | |
llvm-diff | cli | exécutable global | |
llvm-dis | cli | exécutable global | |
llvm-dlltool | cli | exécutable global | |
llvm-dwarfdump | cli | exécutable global | |
llvm-dwarfutil | cli | exécutable global | |
llvm-dwp | cli | exécutable global | |
llvm-exegesis | cli | exécutable global | |
llvm-extract | cli | exécutable global | |
llvm-gsymutil | cli | exécutable global | |
llvm-ifs | cli | exécutable global | |
llvm-install-name-tool | cli | exécutable global | |
llvm-ir2vec | cli | exécutable global | |
llvm-jitlink | cli | exécutable global | |
llvm-jitlink-executor | cli | exécutable global | |
llvm-lib | cli | exécutable global | |
llvm-libtool-darwin | cli | exécutable global | |
llvm-link | cli | exécutable global | |
llvm-lipo | cli | exécutable global | |
llvm-lto | cli | exécutable global | |
llvm-lto2 | cli | exécutable global | |
llvm-mc | cli | exécutable global | |
llvm-mca | cli | exécutable global | |
llvm-ml | cli | exécutable global | |
llvm-ml64 | cli | exécutable global | |
llvm-modextract | cli | exécutable global | |
llvm-nm | cli | exécutable global | |
llvm-objcopy | cli | exécutable global | |
llvm-objdump | cli | exécutable global | |
llvm-offload-binary | cli | exécutable global | |
llvm-offload-wrapper | cli | exécutable global | |
llvm-opt-report | cli | exécutable global | |
llvm-otool | cli | exécutable global | |
llvm-pdbutil | cli | exécutable global | |
llvm-profdata | cli | exécutable global | |
llvm-profgen | cli | exécutable global | |
llvm-ranlib | cli | exécutable global | |
llvm-rc | cli | exécutable global | |
llvm-readelf | cli | exécutable global | |
llvm-readobj | cli | exécutable global | |
llvm-readtapi | cli | exécutable global | |
llvm-reduce | cli | exécutable global | |
llvm-remarkutil | cli | exécutable global | |
llvm-rtdyld | cli | exécutable global | |
llvm-sim | cli | exécutable global | |
llvm-size | cli | exécutable global | |
llvm-split | cli | exécutable global | |
llvm-stress | cli | exécutable global | |
llvm-strings | cli | exécutable global | |
llvm-strip | cli | exécutable global | |
llvm-symbolizer | cli | exécutable global | |
llvm-tblgen | cli | exécutable global | |
llvm-test-mustache-spec | cli | exécutable global | |
llvm-tli-checker | cli | exécutable global | |
llvm-undname | cli | exécutable global | |
llvm-windres | cli | exécutable global | |
llvm-xray | cli | exécutable global | |
mlir-cat | cli | exécutable global | |
mlir-linalg-ods-yaml-gen | cli | exécutable global | |
mlir-lsp-server | cli | exécutable global | |
mlir-minimal-opt | cli | exécutable global | |
mlir-minimal-opt-canonicalize | cli | exécutable global | |
mlir-opt | cli | exécutable global | |
mlir-pdll | cli | exécutable global | |
mlir-pdll-lsp-server | cli | exécutable global | |
mlir-query | cli | exécutable global | |
mlir-reduce | cli | exécutable global | |
mlir-rewrite | cli | exécutable global | |
mlir-runner | cli | exécutable global | |
mlir-tblgen | cli | exécutable global | |
mlir-transform-opt | cli | exécutable global | |
mlir-translate | cli | exécutable global | |
modularize | cli | exécutable global | |
not | cli | exécutable global | |
nvptx-arch | cli | exécutable global | |
obj2yaml | cli | exécutable global | |
offload-arch | cli | exécutable global | |
opt | cli | exécutable global | |
pp-trace | cli | exécutable global | |
reduce-chunk-list | cli | exécutable global | |
run-clang-tidy | cli | exécutable global | |
sancov | cli | exécutable global | |
sanstats | cli | exécutable global | |
scan-build | cli | exécutable global | |
scan-build-py | cli | exécutable global | |
scan-view | cli | exécutable global | |
split-file | cli | exécutable global | |
tblgen-lsp-server | cli | exécutable global | |
tblgen-to-irdl | cli | exécutable global | |
verify-uselistorder | cli | exécutable global | |
yaml-bench | cli | exécutable global | |
yaml2macho-core | cli | exécutable global | |
yaml2obj | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/llvm/llvm-project
métadonnées d'installation
| Clé du paquet | brew:llvm |
|---|---|
| Version | 22.1.8 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/llvm |
| Page d'accueil | https://llvm.org/ |
| Dépôt | https://github.com/llvm/llvm-project |
| Docs amont | https://llvm.org/docs |
| Licence | Apache-2.0 WITH LLVM-exception |
| Archive source | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| Dernière mise à jour | 2026-06-25T13:37:48+02:00 |
| Pulse | updated |
| Dépendances | python@3.14, xz, z3, zstd |
| Dépendances de compilation | cmake, ninja, swig |
| Bibliothèques fournies par macOS | libedit, libffi, ncurses |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | défini |
| Service | aucun déclaré |
| Précautions | 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 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/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm/lib/unwind -lunwind" Features newer than system libc++ will require the following define to enable (support for this may be removed in a future major LLVM release): 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. |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
llvm 1:19.0-63
Modular compiler and toolchain technologies
sudo apt install llvmllvm
nix profile install nixpkgs#llvmllvm 1:18.0-59~exp2
Low-Level Virtual Machine (LLVM)
sudo apt install llvmllvm 22-r0
Low Level Virtual Machine compiler system, default version.
sudo apk add llvmllvm-dev 22-r0
Low Level Virtual Machine compiler system, default version.
sudo apk add llvm-devllvm-gtest 22-r0
LLVM default gtest static libraries
sudo apk add llvm-gtestllvm-libs 22-r0
LLVM 22 runtime library
sudo apk add llvm-libsllvm-linker-tools 22-r0
Low Level Virtual Machine compiler system, default version. (linker plugins)
sudo apk add llvm-linker-toolsllvm-static 22-r0
LLVM 22 static libraries
sudo apk add llvm-staticllvm-test-utils 22-r0
LLVM utilities for executing LLVM and Clang style test suites
sudo apk add llvm-test-utilsclang 22.1.7-1.fc45
A C language family front-end for LLVM
sudo dnf install clangclang-analyzer 22.1.7-1.fc45
A source code analysis framework
sudo dnf install clang-analyzerclang-devel 22.1.7-1.fc45
Development header files for clang
sudo dnf install clang-develclang-libs 22.1.7-1.fc45
Runtime library for clang
sudo dnf install clang-libsclang-resource-filesystem 22.1.7-1.fc45
Filesystem package that owns the clang resource directory
sudo dnf install clang-resource-filesystemclang-tools-extra 22.1.7-1.fc45
Extra tools for clang
sudo dnf install clang-tools-extrapiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.