pkg.sopackage field notes

brew / rank 64

Install llvm with Homebrew

Next-gen compiler infrastructure. Version 22.1.8 via Homebrew; verified 2026-08-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install llvm

provider-native install command

overview

Package summary

Next-gen compiler infrastructure

Commands and aliases

  • FileCheck
  • UnicodeNameMappingGenerator
  • amdgpu-arch
  • analyze-build
  • bugpoint
  • clang
  • clang++
  • clang-22
  • clang-apply-replacements
  • clang-change-namespace
  • clang-check
  • clang-cl
  • clang-cpp
  • clang-doc
  • clang-extdef-mapping
  • clang-format
  • clang-include-cleaner
  • clang-include-fixer
  • clang-installapi
  • clang-linker-wrapper
  • clang-move
  • clang-nvlink-wrapper
  • clang-offload-bundler
  • clang-offload-packager
  • clang-query
  • clang-refactor
  • clang-reorder-fields
  • clang-repl
  • clang-scan-deps
  • clang-sycl-linker
  • clang-tblgen
  • clang-tidy

history

Project history and usage

LLVM is a modular compiler and toolchain infrastructure project packaged by Homebrew as the current llvm formula. It includes the LLVM core libraries and command-line tools, the Clang compiler frontend, LLDB debugger, LLD linker, libc++, MLIR tooling, and many smaller developer utilities.

Project history

LLVM began as a University of Illinois research project to provide a modern SSA-based compilation strategy for static and dynamic languages. The official LLVM homepage describes the project as a collection of modular and reusable compiler and toolchain technologies, with LLVM now functioning as a project name rather than an acronym for a virtual machine.

The project grew from core optimizer and code-generation libraries into an umbrella project. The official overview lists major subprojects such as Clang for C-family languages, LLDB for native debugging, LLD for linking, libc++ for the C++ standard library, Flang for Fortran, and MLIR infrastructure for compiler construction. The GitHub README describes the repository as source for compilers, optimizers, and run-time environments.

Adoption history

LLVM became a package-manager staple because it is both an end-user toolchain and a dependency for other language runtimes, build systems, static analyzers, editor integrations, and cross-compilation stacks. The official homepage notes production use by commercial and open-source projects and continued academic use, which matches the broad package-manager coverage shown in the input metadata.

For Homebrew users, llvm is often installed to obtain a newer clang than Apple's system compiler, a full llvm-config and library stack, up-to-date linker and object-file tools, clang-format, clang-tidy, clangd, lldb, and architecture-specific utilities. Versioned Homebrew formulae such as llvm@14 through llvm@17 exist because downstream projects frequently need a stable ABI, code-generation behavior, or plugin API tied to a specific LLVM major release.

How it is used

Users install llvm to compile C, C++, Objective-C, and other LLVM-backed languages; run optimizer and code-generation tools such as opt and llc; inspect and transform object files with llvm-objdump, llvm-nm, llvm-ar, and llvm-strip; debug with lldb; format and analyze C-family source with clang-format, clang-tidy, and clangd; and build other packages that need llvm-config or LLVM libraries.

The package is also a build dependency for projects that embed LLVM as a library, generate LLVM IR, ship compiler plugins, or need MLIR and TableGen tooling. In package-manager culture, llvm is less a single command than a large toolchain substrate whose installed prefix can change the behavior of many builds.

Why package nerds care

LLVM is one of the most consequential developer-tool packages in Unix package managers: it provides compilers, linkers, debuggers, binary utilities, formatters, language servers, and libraries that other packages compile against. Its formula is watched closely because a major LLVM bump can reveal C++ standard-library issues, linker changes, sanitizer behavior changes, and downstream projects that accidentally depended on private compiler internals.

The package is also historically important because it displaced the idea that a system compiler was a monolith. LLVM's reusable libraries let package ecosystems build many language frontends, analyzers, and toolchain experiments on common optimizer and code-generation components.

Timeline

  • 2000: LLVM begins as a University of Illinois research project.
  • 2003: LLVM 1.0 is announced as an open compiler infrastructure release.
  • 2011: The LLVM name is treated as the project brand rather than an acronym.
  • 2016-12-07: The llvm/llvm-project monorepo is created on GitHub.
  • 2019: LLVM 9.0.0 and later releases use Apache-2.0 WITH LLVM-exception licensing.
  • 2022-03-23: LLVM 14.0.0 is published.
  • 2022-09-06: LLVM 15.0.0 is published.
  • 2023-03-17: LLVM 16.0.0 is published.
  • 2023-09-19: LLVM 17.0.1 is published.

Related projects

  • Clang, LLDB, LLD, libc++, Flang, MLIR, compiler-rt, OpenMP, and polly are LLVM umbrella subprojects or closely shipped components.
  • Projects such as Rust, Swift, Julia, Zig, Mesa, WebAssembly toolchains, and many static-analysis tools are common LLVM consumers in package-manager ecosystems.
  • Homebrew's llvm@14, llvm@15, llvm@16, and llvm@17 formulae preserve older major release lines for packages that cannot immediately follow the current llvm formula.

security posture

Risk level: yellow

compiler and toolchain runtime.

Risk classifier

yellow risk · high confidence · runtime

Why

  • compiler and toolchain runtime

Signals

  • override:llvm

Install behavior

  • No Homebrew bottle metadata was recorded.

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
FileCheckexecutableindexed executableDiscovered from the local executable index.
UnicodeNameMappingGeneratorexecutableindexed executableDiscovered from the local executable index.
amdgpu-archexecutableindexed executableDiscovered from the local executable index.
analyze-buildexecutableindexed executableDiscovered from the local executable index.
bugpointexecutableindexed executableDiscovered from the local executable index.
clangexecutableindexed executableDiscovered from the local executable index.
clang++executableindexed executableDiscovered from the local executable index.
clang-22executableindexed executableDiscovered from the local executable index.
clang-apply-replacementsexecutableindexed executableDiscovered from the local executable index.
clang-change-namespaceexecutableindexed executableDiscovered from the local executable index.
clang-checkexecutableindexed executableDiscovered from the local executable index.
clang-clexecutableindexed executableDiscovered from the local executable index.
clang-cppexecutableindexed executableDiscovered from the local executable index.
clang-docexecutableindexed executableDiscovered from the local executable index.
clang-extdef-mappingexecutableindexed executableDiscovered from the local executable index.
clang-formatexecutableindexed executableDiscovered from the local executable index.
clang-include-cleanerexecutableindexed executableDiscovered from the local executable index.
clang-include-fixerexecutableindexed executableDiscovered from the local executable index.
clang-installapiexecutableindexed executableDiscovered from the local executable index.
clang-linker-wrapperexecutableindexed executableDiscovered from the local executable index.
clang-moveexecutableindexed executableDiscovered from the local executable index.
clang-nvlink-wrapperexecutableindexed executableDiscovered from the local executable index.
clang-offload-bundlerexecutableindexed executableDiscovered from the local executable index.
clang-offload-packagerexecutableindexed executableDiscovered from the local executable index.
clang-queryexecutableindexed executableDiscovered from the local executable index.
clang-refactorexecutableindexed executableDiscovered from the local executable index.
clang-reorder-fieldsexecutableindexed executableDiscovered from the local executable index.
clang-replexecutableindexed executableDiscovered from the local executable index.
clang-scan-depsexecutableindexed executableDiscovered from the local executable index.
clang-sycl-linkerexecutableindexed executableDiscovered from the local executable index.
clang-tblgenexecutableindexed executableDiscovered from the local executable index.
clang-tidyexecutableindexed executableDiscovered from the local executable index.
clangdexecutableindexed executableDiscovered from the local executable index.
countexecutableindexed executableDiscovered from the local executable index.
diagtoolexecutableindexed executableDiscovered from the local executable index.
dsymutilexecutableindexed executableDiscovered from the local executable index.
find-all-symbolsexecutableindexed executableDiscovered from the local executable index.
git-clang-formatexecutableindexed executableDiscovered from the local executable index.
hmaptoolexecutableindexed executableDiscovered from the local executable index.
intercept-buildexecutableindexed executableDiscovered from the local executable index.
llcexecutableindexed executableDiscovered from the local executable index.
lldbexecutableindexed executableDiscovered from the local executable index.
lldb-argdumperexecutableindexed executableDiscovered from the local executable index.
lldb-dapexecutableindexed executableDiscovered from the local executable index.
lldb-instrexecutableindexed executableDiscovered from the local executable index.
lldb-mcpexecutableindexed executableDiscovered from the local executable index.
lldb-serverexecutableindexed executableDiscovered from the local executable index.
lldb-tblgenexecutableindexed executableDiscovered from the local executable index.
lliexecutableindexed executableDiscovered from the local executable index.
lli-child-targetexecutableindexed executableDiscovered from the local executable index.
llvm-PerfectShuffleexecutableindexed executableDiscovered from the local executable index.
llvm-addr2lineexecutableindexed executableDiscovered from the local executable index.
llvm-arexecutableindexed executableDiscovered from the local executable index.
llvm-asexecutableindexed executableDiscovered from the local executable index.
llvm-bcanalyzerexecutableindexed executableDiscovered from the local executable index.
llvm-bitcode-stripexecutableindexed executableDiscovered from the local executable index.
llvm-c-testexecutableindexed executableDiscovered from the local executable index.
llvm-casexecutableindexed executableDiscovered from the local executable index.
llvm-catexecutableindexed executableDiscovered from the local executable index.
llvm-cfi-verifyexecutableindexed executableDiscovered from the local executable index.
llvm-cgdataexecutableindexed executableDiscovered from the local executable index.
llvm-configexecutableindexed executableDiscovered from the local executable index.
llvm-covexecutableindexed executableDiscovered from the local executable index.
llvm-ctxprof-utilexecutableindexed executableDiscovered from the local executable index.
llvm-cvtresexecutableindexed executableDiscovered from the local executable index.
llvm-cxxdumpexecutableindexed executableDiscovered from the local executable index.
llvm-cxxfiltexecutableindexed executableDiscovered from the local executable index.
llvm-cxxmapexecutableindexed executableDiscovered from the local executable index.
llvm-debuginfo-analyzerexecutableindexed executableDiscovered from the local executable index.
llvm-debuginfodexecutableindexed executableDiscovered from the local executable index.
llvm-debuginfod-findexecutableindexed executableDiscovered from the local executable index.
llvm-diffexecutableindexed executableDiscovered from the local executable index.
llvm-disexecutableindexed executableDiscovered from the local executable index.
llvm-dlltoolexecutableindexed executableDiscovered from the local executable index.
llvm-dwarfdumpexecutableindexed executableDiscovered from the local executable index.
llvm-dwarfutilexecutableindexed executableDiscovered from the local executable index.
llvm-dwpexecutableindexed executableDiscovered from the local executable index.
llvm-exegesisexecutableindexed executableDiscovered from the local executable index.
llvm-extractexecutableindexed executableDiscovered from the local executable index.
llvm-gsymutilexecutableindexed executableDiscovered from the local executable index.
llvm-ifsexecutableindexed executableDiscovered from the local executable index.
llvm-install-name-toolexecutableindexed executableDiscovered from the local executable index.
llvm-ir2vecexecutableindexed executableDiscovered from the local executable index.
llvm-jitlinkexecutableindexed executableDiscovered from the local executable index.
llvm-jitlink-executorexecutableindexed executableDiscovered from the local executable index.
llvm-libexecutableindexed executableDiscovered from the local executable index.
llvm-libtool-darwinexecutableindexed executableDiscovered from the local executable index.
llvm-linkexecutableindexed executableDiscovered from the local executable index.
llvm-lipoexecutableindexed executableDiscovered from the local executable index.
llvm-ltoexecutableindexed executableDiscovered from the local executable index.
llvm-lto2executableindexed executableDiscovered from the local executable index.
llvm-mcexecutableindexed executableDiscovered from the local executable index.
llvm-mcaexecutableindexed executableDiscovered from the local executable index.
llvm-mlexecutableindexed executableDiscovered from the local executable index.
llvm-ml64executableindexed executableDiscovered from the local executable index.
llvm-modextractexecutableindexed executableDiscovered from the local executable index.
llvm-nmexecutableindexed executableDiscovered from the local executable index.
llvm-objcopyexecutableindexed executableDiscovered from the local executable index.
llvm-objdumpexecutableindexed executableDiscovered from the local executable index.
llvm-offload-binaryexecutableindexed executableDiscovered from the local executable index.
llvm-offload-wrapperexecutableindexed executableDiscovered from the local executable index.
llvm-opt-reportexecutableindexed executableDiscovered from the local executable index.
llvm-otoolexecutableindexed executableDiscovered from the local executable index.
llvm-pdbutilexecutableindexed executableDiscovered from the local executable index.
llvm-profdataexecutableindexed executableDiscovered from the local executable index.
llvm-profgenexecutableindexed executableDiscovered from the local executable index.
llvm-ranlibexecutableindexed executableDiscovered from the local executable index.
llvm-rcexecutableindexed executableDiscovered from the local executable index.
llvm-readelfexecutableindexed executableDiscovered from the local executable index.
llvm-readobjexecutableindexed executableDiscovered from the local executable index.
llvm-readtapiexecutableindexed executableDiscovered from the local executable index.
llvm-reduceexecutableindexed executableDiscovered from the local executable index.
llvm-remarkutilexecutableindexed executableDiscovered from the local executable index.
llvm-rtdyldexecutableindexed executableDiscovered from the local executable index.
llvm-simexecutableindexed executableDiscovered from the local executable index.
llvm-sizeexecutableindexed executableDiscovered from the local executable index.
llvm-splitexecutableindexed executableDiscovered from the local executable index.
llvm-stressexecutableindexed executableDiscovered from the local executable index.
llvm-stringsexecutableindexed executableDiscovered from the local executable index.
llvm-stripexecutableindexed executableDiscovered from the local executable index.
llvm-symbolizerexecutableindexed executableDiscovered from the local executable index.
llvm-tblgenexecutableindexed executableDiscovered from the local executable index.
llvm-test-mustache-specexecutableindexed executableDiscovered from the local executable index.
llvm-tli-checkerexecutableindexed executableDiscovered from the local executable index.
llvm-undnameexecutableindexed executableDiscovered from the local executable index.
llvm-windresexecutableindexed executableDiscovered from the local executable index.
llvm-xrayexecutableindexed executableDiscovered from the local executable index.
mlir-catexecutableindexed executableDiscovered from the local executable index.
mlir-linalg-ods-yaml-genexecutableindexed executableDiscovered from the local executable index.
mlir-lsp-serverexecutableindexed executableDiscovered from the local executable index.
mlir-minimal-optexecutableindexed executableDiscovered from the local executable index.
mlir-minimal-opt-canonicalizeexecutableindexed executableDiscovered from the local executable index.
mlir-optexecutableindexed executableDiscovered from the local executable index.
mlir-pdllexecutableindexed executableDiscovered from the local executable index.
mlir-pdll-lsp-serverexecutableindexed executableDiscovered from the local executable index.
mlir-queryexecutableindexed executableDiscovered from the local executable index.
mlir-reduceexecutableindexed executableDiscovered from the local executable index.
mlir-rewriteexecutableindexed executableDiscovered from the local executable index.
mlir-runnerexecutableindexed executableDiscovered from the local executable index.
mlir-tblgenexecutableindexed executableDiscovered from the local executable index.
mlir-transform-optexecutableindexed executableDiscovered from the local executable index.
mlir-translateexecutableindexed executableDiscovered from the local executable index.
modularizeexecutableindexed executableDiscovered from the local executable index.
notexecutableindexed executableDiscovered from the local executable index.
nvptx-archexecutableindexed executableDiscovered from the local executable index.
obj2yamlexecutableindexed executableDiscovered from the local executable index.
offload-archexecutableindexed executableDiscovered from the local executable index.
optexecutableindexed executableDiscovered from the local executable index.
pp-traceexecutableindexed executableDiscovered from the local executable index.
reduce-chunk-listexecutableindexed executableDiscovered from the local executable index.
run-clang-tidyexecutableindexed executableDiscovered from the local executable index.
sancovexecutableindexed executableDiscovered from the local executable index.
sanstatsexecutableindexed executableDiscovered from the local executable index.
scan-buildexecutableindexed executableDiscovered from the local executable index.
scan-build-pyexecutableindexed executableDiscovered from the local executable index.
scan-viewexecutableindexed executableDiscovered from the local executable index.
split-fileexecutableindexed executableDiscovered from the local executable index.
tblgen-lsp-serverexecutableindexed executableDiscovered from the local executable index.
tblgen-to-irdlexecutableindexed executableDiscovered from the local executable index.
verify-uselistorderexecutableindexed executableDiscovered from the local executable index.
yaml-benchexecutableindexed executableDiscovered from the local executable index.
yaml2macho-coreexecutableindexed executableDiscovered from the local executable index.
yaml2objexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version22.1.8
manager updated2026-08-01
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:llvm
Version22.1.8
Package managerHomebrew
Homepagehttps://llvm.org/
Repositoryhttps://github.com/llvm/llvm-project
Last updated2026-08-01T07:56:08+01:00
Pulseupdated
Bottlenot recorded
Servicenone declared

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

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation