macOS
brew install lldlocal Homebrew formula metadata
brew
LLVM Project Linker. Version 22.1.8 via Homebrew; verified 2026-06-21.
install
brew install lldlocal Homebrew formula metadata
sudo apt install lldDebian stable package indexes · lld · source: deb.debian.org
sudo dnf install lldFedora Rawhide package metadata · lld · source: dl.fedoraproject.org
nix profile install nixpkgs#lldnixpkgs package indexes · lld · source: raw.githubusercontent.com
sudo pacman -S lldArch Linux sync databases · lld · source: geo.mirror.pkgbuild.com
sudo zypper install lldopenSUSE Tumbleweed package metadata · lld · source: download.opensuse.org
overview
LLVM Project Linker
history
lld is the LLVM Project's linker. It packages the LLVM approach to modular compiler infrastructure into the final link step, offering fast drop-in linkers for ELF, COFF, Mach-O, and WebAssembly workflows.
lld developed as part of the broader LLVM toolchain. The official documentation describes it as a drop-in replacement for system linkers that runs much faster than traditional linkers and is useful for toolchain developers.
The lld documentation emphasizes several design choices that matter to compiler users: GNU-compatible command-line behavior for ELF, cross-linking support for all built targets, embeddability through lld::lldMain, default LTO support with clang, and a smaller codebase than GNU gold in the 2017 comparison.
The LLVM monorepo model means lld is released with LLVM rather than as a fully separate upstream project. Homebrew's lld formula builds the lld subproject from llvm-project release tarballs while depending on the matching LLVM package.
lld adoption followed clang and LLVM adoption: developers could select it through compiler-driver flags such as -fuse-ld=lld instead of replacing /usr/bin/ld directly.
It became especially attractive for large C/C++ builds, cross-compilation, WebAssembly, Windows COFF/PDB workflows, and LTO-heavy builds where linker speed and LLVM integration matter.
The package installs linkers such as ld.lld, ld64.lld, lld-link, and wasm-ld. Unix users often reach it through clang's -fuse-ld=lld option, while Windows-style builds use lld-link and WebAssembly builds use wasm-ld.
For package-manager users, installing lld separately from a full compiler bundle can make it easier to test linker behavior, speed up builds, or build toolchains that intentionally mix compiler and linker components.
lld is a core systems package because a linker affects every compiled binary produced through a toolchain. Small packaging choices around version matching, bottle compatibility, and dependency edges can ripple into large build farms.
Homebrew packaging lld as its own formula, rather than only as part of llvm, reflects the Unix tradition of swapping toolchain components one piece at a time.
security posture
No matching local secret-handling manifest was found for lld. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ld.lld | cli | global executable | |
ld64.lld | cli | global executable | |
lld | cli | global executable | |
lld-link | cli | global executable | |
wasm-ld | cli | global executable |
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.
https://github.com/llvm/llvm-project
install metadata
| Package key | brew:lld |
|---|---|
| Version | 22.1.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/lld |
| Homepage | https://lld.llvm.org/ |
| Repository | https://github.com/llvm/llvm-project |
| Upstream docs | https://lld.llvm.org/ |
| License | Apache-2.0 WITH LLVM-exception |
| Source archive | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| Last updated | 2026-06-21T01:50:33Z |
| Pulse | updated |
| Dependencies | llvm, zstd |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lld |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
lld 1:19.0-63
LLVM-based linker
sudo apt install lldlld
nix profile install nixpkgs#lldlld 1:18.0-59~exp2
LLVM-based linker
sudo apt install lldlld 22.1.7-1.fc45
The LLVM Linker
sudo dnf install lldlld 22.1.6-1
Linker from the LLVM project
sudo pacman -S lldlld 22-2.1
Linker for Clang/LLVM
sudo zypper install lldsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.