Automic VaultAutomic Vault

brew

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

Next-gen compiler infrastructure. Version 18.1.8 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install llvm@18

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install llvm-18

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

Linux

Debian aptverified · 92%
sudo apt install llvm-18

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

Alpine Linux apkverified · 92%
sudo apk add clang18

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

Fedora dnfverified · 92%
sudo dnf install llvm18

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

Arch Linux pacmanverified · 92%
sudo pacman -S llvm18

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

openSUSE zypperverified · 92%
sudo zypper install clang18

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

Nixverified · 92%
nix profile install nixpkgs#llvm

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

overview

Package summary

Next-gen compiler infrastructure

Commands and aliases

  • clang-18

history

Project history and usage

LLVM 18 is the Homebrew versioned formula for the LLVM 18.x toolchain, including LLVM libraries and command-line tools, Clang, clang-tools, LLD, MLIR utilities, and related compiler infrastructure.

Project history

LLVM began as a University of Illinois research project to provide a modern SSA-based compilation strategy for static and dynamic compilation. The project made its 1.0 release in October 2003 and later grew into an umbrella for compiler, debugger, runtime, linker, and analysis subprojects.

The upstream project describes LLVM as a collection of modular and reusable compiler and toolchain technologies rather than a single compiler. Its core libraries provide optimizer and code-generation infrastructure around LLVM IR, while Clang, LLD, LLDB, libc++, compiler-rt, MLIR, OpenMP, and other subprojects build on that base.

Adoption history

LLVM moved from academic compiler infrastructure into mainstream production use across commercial, open source, and research projects. The project highlights external users spanning language implementations, JITs, static analysis tools, linkers, debuggers, and high-performance computing toolchains.

For package managers, LLVM's release train and large set of CLI tools made it a common versioned dependency. Versioned formulae such as llvm@18 let users pin a major compiler stack while newer major releases continue to land.

How it is used

Package users install LLVM for Clang and clang++, clang-format, clang-tidy, clangd, LLD, llvm-ar, llvm-objdump, llvm-config, opt, llc, FileCheck, MLIR tools, and many other compiler-development utilities. Upstream getting-started documentation centers on cloning llvm-project, configuring with CMake, and selecting enabled subprojects such as clang and lld.

Clang is documented as a C, C++, and Objective-C compiler driver that handles preprocessing, parsing, optimization, code generation, assembly, and linking, while transparently invoking lower-level compiler and linker tools.

Why package nerds care

LLVM is one of the canonical package-manager stress tests: huge source trees, many binaries, CMake builds, multiple runtime libraries, and a steady major-version cadence. Versioned formulae matter because downstream projects often need a specific Clang/LLVM ABI or tool behavior.

LLVM 18 is especially useful as a stable major-series target for projects that have not moved to later LLVM APIs, for reproducible builds that pin clang-format or clang-tidy behavior, and for language runtimes that embed or link against LLVM libraries.

Timeline

  • 2000: LLVM starts as a University of Illinois research project.
  • 2003-10-24: LLVM 1.0 is released.
  • 2012: LLVM receives the ACM Software System Award.
  • 2024-03-05: LLVM 18.1.0 is released.
  • 2024: Homebrew exposes LLVM 18 through the versioned llvm@18 formula.

Related projects

  • Clang, LLD, LLDB, libc++, compiler-rt, MLIR, OpenMP, Flang, BOLT, and the monorepo at github.com/llvm/llvm-project are the main related upstream projects.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for llvm@18. 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 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
clang-18cliglobal 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 version18.1.8
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:llvm@18
Version18.1.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/llvm@18
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-18.1.8/llvm-project-18.1.8.src.tar.xz
Last updated2026-06-25T13:37:49+02:00
Pulseupdated
Dependencieszstd
Build dependenciescmake, ninja, python@3.14
Uses from macOSlibedit, libffi, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, 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@18/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@18/lib -lunwind"

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namellvm@18
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.

Debian apt95%

llvm-18 1:18.1.8-18+b1

Modular compiler and toolchain technologies

https://www.llvm.org/

sudo apt install llvm-18
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-18
  • 11 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Llvm 18
Debian stable package indexes · deb.debian.org · Debian stable package indexes: llvm-18 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

llvm-18 1:18.1.3-1

Modular compiler and toolchain technologies

https://www.llvm.org/

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

llvm-18

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

clang-18 1:18.1.8-18+b1

C, C++ and Objective-C compiler

https://www.llvm.org/

sudo apt install clang-18
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-18
  • 12 dependencies
  • 4 provides
  • 4 optional deps
  • installed executable or alias match
  • Matched by: Clang 18
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clang-18 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

clang-18 1:18.1.3-1

C, C++ and Objective-C compiler

https://www.llvm.org/

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

clang18 18.1.8-r10

C language family front-end for LLVM

https://llvm.org/

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

clang18-ccache 18.1.8-r10

C language family front-end for LLVM (ccache symlinks)

https://llvm.org/

sudo apk add clang18-ccache
  • License: Apache-2.0 WITH LLVM-exception
  • Architecture: x86_64
  • Source Package: llvm18
  • package manager index match
  • Matched by: Llvm18
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: clang18-ccache from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

clang18-dev 18.1.8-r10

C language family front-end for LLVM (development files)

https://llvm.org/

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

clang18-extra-tools 18.1.8-r10

Extra tools built using Clang's tooling APIs

https://llvm.org/

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

clang18-headers 18.1.8-r10

C language family front-end for LLVM (header files)

https://llvm.org/

sudo apk add clang18-headers
  • License: Apache-2.0 WITH LLVM-exception
  • Architecture: x86_64
  • Source Package: llvm18
  • package manager index match
  • Matched by: Llvm18
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: clang18-headers from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

clang18-libclang 18.1.8-r10

C language family front-end for LLVM (C interface)

https://llvm.org/

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

clang18-libs 18.1.8-r10

C language family front-end for LLVM (C++ interface)

https://llvm.org/

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

clang18-static 18.1.8-r10

C language family front-end for LLVM (static library)

https://llvm.org/

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

lld18 18.1.8-r10

The LLVM Linker

https://llvm.org/

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

lld18-dev 18.1.8-r10

The LLVM Linker (development files)

https://llvm.org/

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

lld18-libs 18.1.8-r10

The LLVM Linker (libraries)

https://llvm.org/

sudo apk add lld18-libs
  • License: Apache-2.0 WITH LLVM-exception
  • Architecture: x86_64
  • Source Package: llvm18
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Llvm18
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lld18-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/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