macOS
brew install moldlocal Homebrew formula metadata
sudo port install moldMacPorts ports tree · devel/mold/Portfile · source: api.github.com
brew
Modern Linker. Version 2.41.0 via Homebrew; verified 2026-04-13.
install
brew install moldlocal Homebrew formula metadata
sudo port install moldMacPorts ports tree · devel/mold/Portfile · source: api.github.com
sudo apk add moldAlpine Linux edge package indexes · mold · source: dl-cdn.alpinelinux.org
sudo apt install moldDebian stable package indexes · mold · source: deb.debian.org
sudo dnf install moldFedora Rawhide package metadata · mold · source: dl.fedoraproject.org
nix profile install nixpkgs#moldnixpkgs package indexes · mold · source: raw.githubusercontent.com
sudo pacman -S moldArch Linux sync databases · mold · source: geo.mirror.pkgbuild.com
sudo zypper install moldopenSUSE Tumbleweed package metadata · mold · source: download.opensuse.org
scoop install main/moldScoop official bucket manifest trees · bucket/mold.json · source: api.github.com
overview
Modern Linker
history
mold is Rui Ueyama's high-speed linker, positioned as a drop-in replacement for existing Unix linkers. The project README says Ueyama had earlier developed LLVM lld and presents mold as several times faster than lld on large debuginfo-enabled binaries, targeting shorter debug-edit-rebuild cycles for C, C++, Rust, and other compiled-language projects.
The 1.0 release was published as the first stable, production-ready release for Linux-based systems and described mold as a faster replacement for the default GNU linker for many user-land programs. That release also framed Ueyama's linker background as part of the project's credibility. Toolchain adoption followed quickly: GCC 12 gained -fuse-ld=mold support, putting mold alongside BFD, gold, and lld as an explicit compiler-driver linker choice.
mold's technical niche is compatibility plus parallel performance. It competes directly with GNU ld, GNU gold, and LLVM lld, with FOSDEM material describing it as a fast portable ELF linker and arguing that it gained importance for GNU toolchain users because it supports GCC features that matter for large projects. The README documents support across many architectures and explains usage as either invoking mold directly or selecting it through compiler flags.
The 2.0.0 release changed the license from AGPL to MIT after the AGPL/commercial dual-licensing approach failed to meet the project's goals. That license change expanded mold's packaging and adoption path, making it easier for distributions, build systems, and commercial users to choose it without copyleft-linking concerns.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
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.mold | cli | global executable | |
mold | 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/rui314/mold
install metadata
| Package key | brew:mold |
|---|---|
| Version | 2.41.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mold |
| Homepage | https://github.com/rui314/mold |
| Repository | https://github.com/rui314/mold |
| Upstream docs | https://github.com/rui314/mold#readme |
| License | MIT |
| Source archive | https://github.com/rui314/mold/archive/refs/tags/v2.41.0.tar.gz |
| Last updated | 2026-04-13T15:23:38Z |
| Pulse | updated |
| Dependencies | blake3, tbb, 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 |
| Caveats | Support for Mach-O targets has been removed. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mold |
| 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.
mold 2.37.1+dfsg-1
Drop-in linker
https://github.com/rui314/mold
sudo apt install moldmold
nix profile install nixpkgs#moldmold 2.30.0+dfsg-1build1
Drop-in linker
https://github.com/rui314/mold
sudo apt install moldmold 2.39.1-r0
fast modern linker
https://github.com/rui314/mold
sudo apk add moldmold-doc 2.39.1-r0
fast modern linker (documentation)
https://github.com/rui314/mold
sudo apk add mold-docmold 2.41.0-1.fc45
A Modern Linker
https://github.com/rui314/mold
sudo dnf install moldmold 2.41.0-1
A Modern Linker
https://github.com/rui314/mold
sudo pacman -S moldmold 2.41.0-1.2
A Modern Linker (mold)
https://github.com/rui314/mold
sudo zypper install moldmold
sudo port install moldmain/mold
scoop install main/moldsource 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.