Automic VaultAutomic Vault

brew

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

Next-gen compiler infrastructure. Version 16.0.6 via Homebrew; verified 2026-07-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install llvm@16

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install llvm-16

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

Linux

Ubuntu aptverified · 92%
sudo apt install llvm-16

Ubuntu 24.04 LTS package indexes · llvm-16 · source: archive.ubuntu.com

Alpine Linux apkverified · 92%
sudo apk add llvm16

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

Debian aptverified · 92%
sudo apt install llvm

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

Fedora dnfverified · 92%
sudo dnf install clang

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

Nixverified · 92%
nix profile install nixpkgs#llvm

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

Arch Linux pacmanverified · 92%
sudo pacman -S llvm

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

openSUSE zypperverified · 92%
sudo zypper install clang

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

overview

Package summary

Next-gen compiler infrastructure

Commands and aliases

  • clang-16

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2000: LLVM begins as a University of Illinois compiler research project.
  • 2023-03-17: LLVM 16.0.0 is published on GitHub.
  • 2023-04-05: LLVM 16.0.1 is published.
  • 2023: LLVM 16 keeps opaque pointers enabled by default and supports typed pointers only on a best-effort, untested basis.
  • 2023-2024: Package managers keep llvm-16 packages for downstream projects not ready for LLVM 17 removals.

Related projects

  • LLVM 16 ships with Clang 16, LLDB 16, LLD 16, libc++, compiler-rt, MLIR, OpenMP, and related LLVM tools.
  • It is closely related to llvm@15 as the prior opaque-pointer default release and llvm@17 as the release line that removed typed-pointer support.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 3 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
clang-16cliglobal executable

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-07-08
manager version16.0.6
manager updated2026-07-03
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:llvm@16
Version16.0.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/llvm@16
Homepagehttps://llvm.org/
Repositoryhttps://github.com/llvm/llvm-project
Upstream docshttps://llvm.org/docs
LicenseApache-2.0 WITH LLVM-exception
Source archivehttps://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/llvm-project-16.0.6.src.tar.xz
Last updated2026-07-03T15:55:47-04:00
Pulseupdated
Dependenciespython@3.12, xz, zstd
Build dependenciescmake, ninja, swig
Uses from macOSlibedit, libffi, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsTo 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 details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namellvm@16
Version Scheme0
Revision1
Requirements
  • maximum_macos
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.

Ubuntu apt95%

llvm-16 1:16.0.6-23ubuntu4

Modular compiler and toolchain technologies

https://www.llvm.org/

sudo apt install llvm-16
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-16
  • 11 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Llvm 16
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: llvm-16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

llvm-16

sudo port install llvm-16
  • normalized package name match
  • Matched by: Llvm 16
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/llvm-16/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Ubuntu apt92%

clang-16 1:16.0.6-23ubuntu4

C, C++ and Objective-C compiler

https://www.llvm.org/

sudo apt install clang-16
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-16
  • 12 dependencies
  • 3 provides
  • 4 optional deps
  • installed executable or alias match
  • Matched by: Clang 16
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clang-16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

llvm16 16.0.6-r14

Low Level Virtual Machine compiler system, version 16

https://llvm.org/

sudo apk add llvm16
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-dev 16.0.6-r14

Low Level Virtual Machine compiler system, version 16 (development files)

https://llvm.org/

sudo apk add llvm16-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-libs 16.0.6-r14

LLVM 16 runtime library

https://llvm.org/

sudo apk add llvm16-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-linker-tools 16.0.6-r14

Low Level Virtual Machine compiler system, version 16 (linker plugins)

https://llvm.org/

sudo apk add llvm16-linker-tools
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 dependencies
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-linker-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-static 16.0.6-r14

LLVM 16 static libraries

https://llvm.org/

sudo apk add llvm16-static
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-test-utils 16.0.6-r14

LLVM 16 utilities for executing LLVM and Clang style test suites

https://llvm.org/

sudo apk add llvm16-test-utils
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-test-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-test-utils-pyc 16.0.6-r14

Precompiled Python bytecode for llvm16-test-utils

https://llvm.org/

sudo apk add llvm16-test-utils-pyc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 dependencies
  • package manager index match
  • Matched by: Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-test-utils-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Debian apt88%

llvm 1:19.0-63

Modular compiler and toolchain technologies

sudo apt install llvm
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 2 dependencies
  • versioned package alias match
  • Matched by: Llvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: llvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix88%

llvm

nix profile install nixpkgs#llvm
  • versioned package alias match
  • Matched by: Llvm
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: llvm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt88%

llvm 1:18.0-59~exp2

Low-Level Virtual Machine (LLVM)

sudo apt install llvm
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 2 dependencies
  • versioned package alias match
  • Matched by: Llvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: llvm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk88%

llvm 22-r0

Low Level Virtual Machine compiler system, default version.

https://llvm.org/

sudo apk add llvm
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 dependencies
  • 1 provides
  • versioned package alias match
  • Matched by: Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-dev 22-r0

Low Level Virtual Machine compiler system, default version.

https://llvm.org/

sudo apk add llvm-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 dependencies
  • 1 provides
  • versioned package alias match
  • Matched by: Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-gtest 22-r0

LLVM default gtest static libraries

https://llvm.org/

sudo apk add llvm-gtest
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 dependencies
  • versioned package alias match
  • Matched by: Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-gtest from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

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

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment