macOS
brew install llvm@22local Homebrew formula metadata
sudo port install llvm-22MacPorts ports tree · lang/llvm-22/Portfile · source: api.github.com
brew / rank 867
Next-gen compiler infrastructure. Version 22.1.8 via Homebrew; verified 2026-09-11. Also installable with nix: nix profile install nixpkgs#llvm_22.
install
brew install llvm@22local Homebrew formula metadata
sudo port install llvm-22MacPorts ports tree · lang/llvm-22/Portfile · source: api.github.com
nix profile install nixpkgs#llvm_22nixpkgs package indexes · llvm_22 · source: raw.githubusercontent.com
sudo apk add llvm22Alpine Linux edge package indexes · llvm22 · source: dl-cdn.alpinelinux.org
sudo zypper install llvm22openSUSE Tumbleweed package metadata · llvm22 · source: download.opensuse.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
sudo pacman -S llvmArch Linux sync databases · llvm · source: geo.mirror.pkgbuild.com
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
overview
Next-gen compiler infrastructure
No executable aliases were found in the local package database.
history
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.
security posture
No matching local secret-handling manifest was found for llvm@22. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
| No executable data was present. | |||
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/llvm/llvm-project
install metadata
| Package key | brew:llvm@22 |
|---|---|
| Version | 22.1.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/llvm@22 |
| Homepage | https://llvm.org/ |
| Repository | https://github.com/llvm/llvm-project |
| Upstream docs | https://llvm.org/ |
| License | Apache-2.0 WITH LLVM-exception |
| Source archive | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| Last updated | 2026-09-11T07:34:05Z |
| Pulse | updated |
| Dependencies | zstd |
| Build dependencies | cmake, ninja, python@3.14 |
| Uses from macOS | libedit, libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | 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. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm@22 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
llvm_22
nix profile install nixpkgs#llvm_22llvm-22
sudo port install llvm-22llvm22 22.1.8-r1
Low Level Virtual Machine compiler system, version 22
sudo apk add llvm22llvm22-dev 22.1.8-r1
Low Level Virtual Machine compiler system, version 22 (development files)
sudo apk add llvm22-devllvm22-gtest 22.1.8-r1
LLVM 22 gtest static libraries
sudo apk add llvm22-gtestllvm22-libs 22.1.8-r1
LLVM 22 runtime library
sudo apk add llvm22-libsllvm22-linker-tools 22.1.8-r1
Low Level Virtual Machine compiler system, version 22 (linker plugins)
sudo apk add llvm22-linker-toolsllvm22-static 22.1.8-r1
LLVM 22 static libraries
sudo apk add llvm22-staticllvm22-test-utils 22.1.8-r1
LLVM 22 utilities for executing LLVM and Clang style test suites
sudo apk add llvm22-test-utilsllvm22-test-utils-pyc 22.1.8-r1
Precompiled Python bytecode for llvm22-test-utils
sudo apk add llvm22-test-utils-pycclang-tools 22.1.8-2.1
Tools for Clang
https://clang-analyzer.llvm.org/
sudo zypper install clang-toolsclang22 22.1.8-2.1
CLANG frontend for LLVM
sudo zypper install clang22clang22-devel 22.1.8-2.1
CLANG frontend for LLVM (devel package)
sudo zypper install clang22-develclang22-doc 22.1.8-2.1
Documentation for Clang
sudo zypper install clang22-doclibLLVM22 22.1.8-2.1
Libraries for LLVM
sudo zypper install libLLVM22libLLVM22-32bit 22.1.8-2.1
Libraries for LLVM
sudo zypper install libLLVM22-32bitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.