macOS
brew install llvm@16local Homebrew formula metadata
sudo port install llvm-16MacPorts ports tree · lang/llvm-16/Portfile · source: api.github.com
brew
Next-gen compiler infrastructure. Version 16.0.6 via Homebrew; verified 2026-07-03.
install
brew install llvm@16local Homebrew formula metadata
sudo port install llvm-16MacPorts ports tree · lang/llvm-16/Portfile · source: api.github.com
sudo apt install llvm-16Ubuntu 24.04 LTS package indexes · llvm-16 · source: archive.ubuntu.com
sudo apk add llvm16Alpine Linux edge package indexes · llvm16 · source: dl-cdn.alpinelinux.org
sudo apt install llvmDebian stable package indexes · llvm · source: deb.debian.org
sudo dnf install clangFedora Rawhide package metadata · clang · 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 clangopenSUSE Tumbleweed package metadata · clang · 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
overview
Next-gen compiler infrastructure
history
llvm@16 is Homebrew's versioned formula for the LLVM 16 release line, preserving the 16.x compiler, debugger, linker, and LLVM library stack for projects that need that major version.
LLVM 16 continued the LLVM project's role as a modular infrastructure for compiler frontends, optimizers, code generators, debuggers, linkers, and development tools. The official 16.0.0 documentation and release notes cover the coordinated release of LLVM core and its subprojects.
In the opaque-pointer migration, LLVM 16 tightened the transition: the official documentation says opaque pointers were enabled by default and typed pointers were supported only on a best-effort basis and not tested. That made LLVM 16 a late migration release for projects still carrying typed-pointer assumptions.
Package managers carried llvm@16 and llvm-16 style packages because many consumers need the new compiler and toolchain improvements without immediately accepting the next major release's removals. The input metadata shows mappings across Homebrew, MacPorts, Debian/Ubuntu, Alpine, Fedora-style clang packages, Nix, Arch-related clang packages, Scoop, winget clangd, and openSUSE.
For downstream maintainers, LLVM 16 was often a practical target for modernizing APIs while still having more compatibility surface than LLVM 17. That is why a versioned formula has value even after the unversioned llvm package moves on.
Users install llvm@16 for clang-16, LLVM 16 headers and libraries, llvm-config, FileCheck, LLDB/LLD tools where included, MLIR tools, clangd, clang-format, clang-tidy, and the large suite of LLVM object-file and IR utilities.
It is commonly used as a pinned build dependency for language runtimes, compiler plugins, static-analysis tools, and projects whose test suites are validated against LLVM 16 behavior.
llvm@16 is significant as the last broad compatibility step before LLVM 17 removed typed-pointer support. In package-maintainer terms, it is a pressure-release valve: new enough to expose migration work, old enough not to remove every escape hatch.
It also shows why compilers are packaged like platforms. A major LLVM version controls not just a compiler executable but a constellation of libraries, C++ APIs, generated tables, debugger behavior, and command-line tools consumed by other packages.
security posture
No matching local secret-handling manifest was found for llvm@16. Nucleus 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 |
|---|---|---|---|
clang-16 | cli | global executable |
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@16 |
|---|---|
| Version | 16.0.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/llvm@16 |
| Homepage | https://llvm.org/ |
| Repository | https://github.com/llvm/llvm-project |
| Upstream docs | https://llvm.org/docs |
| License | Apache-2.0 WITH LLVM-exception |
| Source archive | https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/llvm-project-16.0.6.src.tar.xz |
| Last updated | 2026-07-03T15:55:47-04:00 |
| Pulse | updated |
| Dependencies | python@3.12, xz, zstd |
| Build dependencies | cmake, ninja, swig |
| Uses from macOS | libedit, libffi, ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | To use the bundled libc++ please add the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@16/lib/c++ -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm@16/lib/c++" |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm@16 |
| Version Scheme | 0 |
| Revision | 1 |
| Requirements |
|
| 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-16 1:16.0.6-23ubuntu4
Modular compiler and toolchain technologies
sudo apt install llvm-16llvm-16
sudo port install llvm-16clang-16 1:16.0.6-23ubuntu4
C, C++ and Objective-C compiler
sudo apt install clang-16llvm16 16.0.6-r14
Low Level Virtual Machine compiler system, version 16
sudo apk add llvm16llvm16-dev 16.0.6-r14
Low Level Virtual Machine compiler system, version 16 (development files)
sudo apk add llvm16-devllvm16-libs 16.0.6-r14
LLVM 16 runtime library
sudo apk add llvm16-libsllvm16-linker-tools 16.0.6-r14
Low Level Virtual Machine compiler system, version 16 (linker plugins)
sudo apk add llvm16-linker-toolsllvm16-static 16.0.6-r14
LLVM 16 static libraries
sudo apk add llvm16-staticllvm16-test-utils 16.0.6-r14
LLVM 16 utilities for executing LLVM and Clang style test suites
sudo apk add llvm16-test-utilsllvm16-test-utils-pyc 16.0.6-r14
Precompiled Python bytecode for llvm16-test-utils
sudo apk add llvm16-test-utils-pycllvm 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-gtestsource 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.