pkg.soopen package index

brew / rank 867

Install llvm@22 with Homebrew, MacPorts, Nix, apk, zypper, chocolatey, apt, dnf, pacman, scoop, winget

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

Additional install commands

macOS

Homebrewverified · 100%
brew install llvm@22

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install llvm-22

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

Linux

Nixverified · 92%
nix profile install nixpkgs#llvm_22

nixpkgs package indexes · llvm_22 · source: raw.githubusercontent.com

Alpine Linux apkverified · 92%
sudo apk add llvm22

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

openSUSE zypperverified · 92%
sudo zypper install llvm22

openSUSE Tumbleweed package metadata · llvm22 · source: download.opensuse.org

Debian aptverified · 92%
sudo apt install llvm

Debian stable package indexes · llvm · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install llvm

Fedora Rawhide package metadata · llvm · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S llvm

Arch Linux sync databases · llvm · source: geo.mirror.pkgbuild.com

overview

Package summary

Next-gen compiler infrastructure

Commands and aliases

No executable aliases were found in the local package database.

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
No executable data was present.

freshness

Version and 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.

page generated2026-09-19
manager version22.1.8
manager updated2026-09-11
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:llvm@22
Version22.1.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/llvm@22
Homepagehttps://llvm.org/
Repositoryhttps://github.com/llvm/llvm-project
Upstream docshttps://llvm.org/
LicenseApache-2.0 WITH LLVM-exception
Source archivehttps://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz
Last updated2026-09-11T07:34:05Z
Pulseupdated
Dependencieszstd
Build dependenciescmake, ninja, python@3.14
Uses from macOSlibedit, libffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsCLANG_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 details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

llvm_22

nix profile install nixpkgs#llvm_22
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • package manager index match
  • Matched by: 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 dependencies
  • 1 provides
  • package manager index match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • package manager index match
  • Matched by: 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 dependencies
  • package manager index match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • package manager index match
  • Matched by: 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 dependencies
  • package manager index match
  • Matched by: 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 dependencies
  • 4 provides
  • package manager index match
  • Matched by: 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 dependencies
  • 2 provides
  • package manager index match
  • Matched by: 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 dependencies
  • 2 provides
  • package manager index match
  • Matched by: 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 provides
  • package manager index match
  • Matched by: 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 dependencies
  • 4 provides
  • package manager index match
  • Matched by: 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 dependencies
  • 4 provides
  • package manager index match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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