🍺 BREW Explorer

← all formulae

llvm@19

brew install llvm@19 v19.1.7 Apache-2.0 WITH LLVM-exception keg-only

Next-gen compiler infrastructure

400
30-day installs · #1934
924
90-day · #2281
15.1k
365-day · #1213

Runtime dependencies

Build dependencies

Links

Caveats

CLANG_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@19

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@19/lib/unwind -lunwind"

To use the bundled libc++ please use the following LDFLAGS:
  LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@19/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@19/lib/unwind -lunwind"

NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.

Keg-only reason

:versioned_formula

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake",
    "ninja",
    "python@3.14"
  ],
  "categories": [],
  "caveats": "CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang\nCLANG_CONFIG_FILE_USER_DIR:   ~/.config/clang\n\nLLD is now provided in a separate formula:\n  brew install lld@19\n\nUsing `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`.\nIf you don\u0027t want to install the CLT, you can write appropriate configuration files pointing to your\nSDK at ~/.config/clang.\n\nTo use the bundled libunwind please use the following LDFLAGS:\n  LDFLAGS=\"-L$HOMEBREW_PREFIX/opt/llvm@19/lib/unwind -lunwind\"\n\nTo use the bundled libc++ please use the following LDFLAGS:\n  LDFLAGS=\"-L$HOMEBREW_PREFIX/opt/llvm@19/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@19/lib/unwind -lunwind\"\n\nNOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you\u0027re doing.\n",
  "conflicts_with": [],
  "dependencies": [
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Next-gen compiler infrastructure",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": null,
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "llvm@19",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://llvm.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 400,
  "installs_365d": 15145,
  "installs_90d": 924,
  "keg_only": 1,
  "keg_only_reason": ":versioned_formula",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0 WITH LLVM-exception",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "llvm@19",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1934,
  "rank_365d": 1213,
  "rank_90d": 2281,
  "raw_hash": "6a583eb5bcb5193d",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/l/llvm@19.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "python@3.14"
  ],
  "uses_from_macos": [
    "libedit",
    "libffi"
  ],
  "version_head": null,
  "version_stable": "19.1.7",
  "versioned_formulae": [
    "llvm@21",
    "llvm@20",
    "llvm@18",
    "llvm@17",
    "llvm@16",
    "llvm@15",
    "llvm@14",
    "llvm@12"
  ],
  "why_use_this": null
}