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

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

## Install

```sh
sudo av install brew:llvm@15
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install llvm@15
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install llvm-15
```

  Evidence: MacPorts ports tree: lang/llvm-15/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install llvm-15
```

  Evidence: Ubuntu 24.04 LTS package indexes: llvm-15 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- apk (92%):

```sh
sudo apk add llvm15
```

  Evidence: Alpine Linux edge package indexes: llvm15 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install llvm15
```

  Evidence: Fedora Rawhide package metadata: llvm15 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install clang15
```

  Evidence: openSUSE Tumbleweed package metadata: clang15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install llvm
```

  Evidence: Debian stable package indexes: llvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#llvm
```

  Evidence: nixpkgs package indexes: llvm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S llvm
```

  Evidence: Arch Linux sync databases: llvm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install llvm
```

  Evidence: Chocolatey community package catalog: llvm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','librespeed-cli'

- Scoop (92%):

```sh
scoop install main/llvm
```

  Evidence: Scoop official bucket manifest trees: bucket/llvm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id LLVM.LLVM -e
```

  Evidence: Windows Package Manager source index: LLVM.LLVM from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:llvm@15
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/llvm@15>
- **Version:** 15.0.7
- **Source summary:** Next-gen compiler infrastructure
- **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-15.0.7/llvm-project-15.0.7.src.tar.xz>
- **Last updated:** 2026-07-03T15:55:22-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- clang-15 (cli)
- clang-pseudo (cli)
- llvm-remark-size-diff (cli)
- clang-15 (alias)
- clang-pseudo (alias)
- llvm-remark-size-diff (alias)

## Dependencies

- zstd

## Build dependencies

- cmake
- python@3.12

## Uses from macOS

- libedit
- libffi
- ncurses

## Install behavior

- Post-install hook: not defined
- Caveats: To use the bundled libc++ please add the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@15/lib/c++ -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm@15/lib/c++"
- Bottle: available on arm64_linux, arm64_monterey, arm64_sonoma, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 15.0.7
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/llvm/llvm-project
- info: No cached GitHub release or tag data was available.
## Project history and usage

llvm@15 is Homebrew's versioned formula for the LLVM 15 release line. It packages a stable 15.x generation of the LLVM compiler infrastructure for users and downstream builds that cannot simply follow the current llvm formula.

### Project history

LLVM 15 continued the LLVM project's evolution from reusable optimizer and code-generation libraries into a broad compiler-toolchain platform. Like other major LLVM releases, it shipped coordinated updates across LLVM core, Clang, LLDB, LLD, libc++, compiler-rt, MLIR, and related developer tools.

A defining migration point for LLVM 15 was opaque pointers. The official opaque-pointer documentation states that LLVM 15 enabled opaque pointers by default while typed pointers were still supported, making this release a compatibility hinge between older typed-pointer IR users and the LLVM 17 world where typed pointers were no longer supported.

### Adoption history

The formula's versioned shape reflects how package ecosystems adopt LLVM: compiler stacks move quickly, but language runtimes, static analyzers, code generators, and editor tools often need one major line pinned until their LLVM API usage catches up. llvm@15 offered that stable target after the 15.0.0 release.

The input metadata shows llvm@15 packaged under names such as llvm15, llvm-15, clangd, clang15, and Homebrew llvm@15 across Linux, macOS, Windows-oriented, and Nix-style ecosystems. That spread is typical for LLVM major releases because both command-line users and build dependencies need predictable versioned tools.

### How it is used

Users install llvm@15 to get clang-15, LLVM 15 libraries and headers, LLVM binary utilities, LLDB/LLD tools where packaged, and helper tools such as clang-tidy, clang-format, clangd, llvm-config, opt, llc, and FileCheck.

It is most useful when a build explicitly requires LLVM 15 or when maintainers need to test code against the opaque-pointer default before moving to later LLVM releases.

### Why package nerds care

llvm@15 is significant because it packaged one of LLVM's biggest IR model transitions as a selectable toolchain rather than forcing every downstream package to migrate at once. That is exactly why package managers keep versioned compiler stacks around.

For maintainers, llvm@15 often marks the point where old typed-pointer assumptions become visible in build logs and tests, while still leaving escape hatches unavailable in later releases.

### Timeline

- 2000: LLVM begins as a University of Illinois compiler research project.
- 2022-09-06: LLVM 15.0.0 is published on GitHub.
- 2022-09-20: LLVM 15.0.1 is published.
- 2022: LLVM 15 enables opaque pointers by default while retaining typed-pointer support.
- 2023: Package ecosystems continue carrying llvm-15 packages while LLVM 16 and 17 advance the opaque-pointer transition.

### Related projects

- LLVM 15 ships with Clang 15, LLDB 15, LLD 15, libc++, compiler-rt, MLIR, OpenMP, and related LLVM tools.
- It is related to llvm@14 as the next migration step, and to llvm@16 and llvm@17 as later stages in the opaque-pointer transition.

### Sources

- <https://api.github.com/repos/llvm/llvm-project/releases>
- <https://llvm.org/>
- <https://llvm.org/docs/OpaquePointers.html>
- <https://releases.llvm.org/15.0.0/docs/>
- <https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for llvm@15. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** llvm@15
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** maximum_macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Ubuntu apt - llvm-15 - 1:15.0.7-14build3: normalized package name match | Ubuntu 24.04 LTS package indexes: llvm-15 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Modular compiler and toolchain technologies | https://www.llvm.org/
- MacPorts - llvm-15: normalized package name match | MacPorts ports tree: lang/llvm-15/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Ubuntu apt - clang-15 - 1:15.0.7-14build3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: clang-15 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C, C++ and Objective-C compiler | https://www.llvm.org/
- apk - llvm15 - 15.0.7-r20: package manager index match | Alpine Linux edge package indexes: llvm15 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Low Level Virtual Machine compiler system, version 15 | https://llvm.org/
- apk - llvm15-dev - 15.0.7-r20: package manager index match | Alpine Linux edge package indexes: llvm15-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Low Level Virtual Machine compiler system, version 15 (development files) | https://llvm.org/
- apk - llvm15-libs - 15.0.7-r20: package manager index match | Alpine Linux edge package indexes: llvm15-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | LLVM 15 runtime library | https://llvm.org/
- apk - llvm15-static - 15.0.7-r20: package manager index match | Alpine Linux edge package indexes: llvm15-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | LLVM 15 static libraries | https://llvm.org/
- apk - llvm15-test-utils - 15.0.7-r20: package manager index match | Alpine Linux edge package indexes: llvm15-test-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | LLVM 15 utilities for executing LLVM and Clang style test suites | https://llvm.org/
- dnf - llvm15 - 15.0.7-15.fc44: package manager index match | Fedora Rawhide package metadata: llvm15 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The Low Level Virtual Machine | http://llvm.org
- dnf - llvm15-devel - 15.0.7-15.fc44: package manager index match | Fedora Rawhide package metadata: llvm15-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Libraries and header files for LLVM | http://llvm.org
- dnf - llvm15-doc - 15.0.7-15.fc44: package manager index match | Fedora Rawhide package metadata: llvm15-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation for LLVM | http://llvm.org
- dnf - llvm15-libs - 15.0.7-15.fc44: package manager index match | Fedora Rawhide package metadata: llvm15-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | LLVM shared libraries | http://llvm.org
- dnf - llvm15-static - 15.0.7-15.fc44: package manager index match | Fedora Rawhide package metadata: llvm15-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | LLVM static libraries | http://llvm.org
- zypper - clang15 - 15.0.7-17.1: package manager index match | openSUSE Tumbleweed package metadata: clang15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CLANG frontend for LLVM | https://clang.llvm.org/
- zypper - clang15-devel - 15.0.7-17.1: package manager index match | openSUSE Tumbleweed package metadata: clang15-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CLANG frontend for LLVM (devel package) | https://www.llvm.org/
- zypper - clang15-doc - 15.0.7-17.1: package manager index match | openSUSE Tumbleweed package metadata: clang15-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Documentation for Clang | https://www.llvm.org/


## Related links

- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched curated package taxonomy and local package facts.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [python@3.12](https://www.automicvault.com/pkg/brew/python-3-12/) - Build dependency declared by Homebrew.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Package name indicates the same formula family.
- [llvm@14](https://www.automicvault.com/pkg/brew/llvm-14/) - Package name indicates the same formula family.
- [llvm@16](https://www.automicvault.com/pkg/brew/llvm-16/) - Package name indicates the same formula family.
- [llvm@17](https://www.automicvault.com/pkg/brew/llvm-17/) - Package name indicates the same formula family.
- [llvm@18](https://www.automicvault.com/pkg/brew/llvm-18/) - Package name indicates the same formula family.
- [llvm@19](https://www.automicvault.com/pkg/brew/llvm-19/) - Package name indicates the same formula family.
- [llvm@20](https://www.automicvault.com/pkg/brew/llvm-20/) - Package name indicates the same formula family.
- [clang-format](https://www.automicvault.com/pkg/brew/clang-format/) - Shares the same upstream source repository.
- [clang-format@11](https://www.automicvault.com/pkg/brew/clang-format-11/) - Shares the same upstream source repository.
- [flang](https://www.automicvault.com/pkg/brew/flang/) - Shares the same upstream source repository.
- [lld](https://www.automicvault.com/pkg/brew/lld/) - Shares the same upstream source repository.

## Combined YAML source

View the package source record on GitHub. [combined/llvm@15.yml](https://github.com/automic-vault/db/blob/main/combined/llvm@15.yml)


## Sources

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