macOS
brew install llvm@18local Homebrew formula metadata
sudo port install llvm-18MacPorts ports tree · lang/llvm-18/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für llvm@18 in AI-Agent-Workflows.
Installation
brew install llvm@18local Homebrew formula metadata
sudo port install llvm-18MacPorts ports tree · lang/llvm-18/Portfile · Quelle: api.github.com
sudo apt install llvm-18Debian stable package indexes · llvm-18 · Quelle: deb.debian.org
sudo apk add llvm18Alpine Linux edge package indexes · llvm18 · Quelle: dl-cdn.alpinelinux.org
sudo dnf install llvm18Fedora Rawhide package metadata · llvm18 · Quelle: dl.fedoraproject.org
sudo pacman -S llvm18Arch Linux sync databases · llvm18 · Quelle: geo.mirror.pkgbuild.com
sudo zypper install llvm18openSUSE Tumbleweed package metadata · llvm18 · Quelle: download.opensuse.org
nix profile install nixpkgs#llvmnixpkgs package indexes · llvm · Quelle: raw.githubusercontent.com
choco install llvmChocolatey community package catalog · llvm · Quelle: community.chocolatey.org
scoop install main/llvmScoop official bucket manifest trees · bucket/llvm.json · Quelle: api.github.com
winget install --id LLVM.LLVM -eWindows Package Manager source index · LLVM.LLVM · Quelle: cdn.winget.microsoft.com
Überblick
Next-gen compiler infrastructure
Verlauf
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.
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.
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.
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.
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.
Sicherheitslage
Für llvm@18 wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
clang-18 | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/llvm/llvm-project
Installationsmetadaten
| Paketschlüssel | brew:llvm@18 |
|---|---|
| Version | 18.1.8 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/llvm@18 |
| Homepage | https://llvm.org/ |
| Repository | https://github.com/llvm/llvm-project |
| Upstream-Dokumentation | https://llvm.org/docs |
| Lizenz | Apache-2.0 WITH LLVM-exception |
| Quellarchiv | https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/llvm-project-18.1.8.src.tar.xz |
| Zuletzt aktualisiert | 2026-06-25T13:37:49+02:00 |
| Pulse | updated |
| Abhängigkeiten | zstd |
| Build-Abhängigkeiten | cmake, ninja, python@3.14 |
| Von macOS bereitgestellte Bibliotheken | libedit, libffi, ncurses |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
| Einschränkungen | To 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-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm@18 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
llvm-18 1:18.1.8-18+b1
Modular compiler and toolchain technologies
sudo apt install llvm-18llvm-18 1:18.1.3-1
Modular compiler and toolchain technologies
sudo apt install llvm-18llvm-18
sudo port install llvm-18clang-18 1:18.1.8-18+b1
C, C++ and Objective-C compiler
sudo apt install clang-18clang-18 1:18.1.3-1
C, C++ and Objective-C compiler
sudo apt install clang-18clang18 18.1.8-r10
C language family front-end for LLVM
sudo apk add clang18clang18-ccache 18.1.8-r10
C language family front-end for LLVM (ccache symlinks)
sudo apk add clang18-ccacheclang18-dev 18.1.8-r10
C language family front-end for LLVM (development files)
sudo apk add clang18-devclang18-extra-tools 18.1.8-r10
Extra tools built using Clang's tooling APIs
sudo apk add clang18-extra-toolsclang18-headers 18.1.8-r10
C language family front-end for LLVM (header files)
sudo apk add clang18-headersclang18-libclang 18.1.8-r10
C language family front-end for LLVM (C interface)
sudo apk add clang18-libclangclang18-libs 18.1.8-r10
C language family front-end for LLVM (C++ interface)
sudo apk add clang18-libsclang18-static 18.1.8-r10
C language family front-end for LLVM (static library)
sudo apk add clang18-staticlld18 18.1.8-r10
The LLVM Linker
sudo apk add lld18lld18-dev 18.1.8-r10
The LLVM Linker (development files)
sudo apk add lld18-devlld18-libs 18.1.8-r10
The LLVM Linker (libraries)
sudo apk add lld18-libsQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.