Automic VaultAutomic Vault

brew

Install mold with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Modern Linker. Version 2.41.0 via Homebrew; verified 2026-04-13.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mold

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mold

MacPorts ports tree · devel/mold/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add mold

Alpine Linux edge package indexes · mold · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install mold

Debian stable package indexes · mold · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install mold

Fedora Rawhide package metadata · mold · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mold

nixpkgs package indexes · mold · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S mold

Arch Linux sync databases · mold · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install mold

openSUSE Tumbleweed package metadata · mold · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/mold

Scoop official bucket manifest trees · bucket/mold.json · source: api.github.com

overview

Package summary

Modern Linker

Commands and aliases

  • ld.mold
  • mold

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ld.moldcliglobal executable
moldcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.41.0
manager updated2026-04-13
local dataok
upstreamcurrent
latest detectedv2.41.0

https://github.com/rui314/mold

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mold
Version2.41.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mold
Homepagehttps://github.com/rui314/mold
Repositoryhttps://github.com/rui314/mold
Upstream docshttps://github.com/rui314/mold#readme
LicenseMIT
Source archivehttps://github.com/rui314/mold/archive/refs/tags/v2.41.0.tar.gz
Last updated2026-04-13T15:23:38Z
Pulseupdated
Dependenciesblake3, tbb, zstd
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsSupport for Mach-O targets has been removed.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemold
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

mold 2.37.1+dfsg-1

Drop-in linker

https://github.com/rui314/mold

sudo apt install mold
  • Section: devel
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Mold
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mold from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mold

nix profile install nixpkgs#mold
  • normalized package name match
  • Matched by: Mold
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: mold from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

mold 2.30.0+dfsg-1build1

Drop-in linker

https://github.com/rui314/mold

sudo apt install mold
  • Section: universe/devel
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Mold
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mold from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mold 2.39.1-r0

fast modern linker

https://github.com/rui314/mold

sudo apk add mold
  • License: MIT
  • Architecture: x86_64
  • Source Package: mold
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mold
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mold from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mold-doc 2.39.1-r0

fast modern linker (documentation)

https://github.com/rui314/mold

sudo apk add mold-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: mold
  • normalized package name match
  • Matched by: Mold
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mold-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

mold 2.41.0-1.fc45

A Modern Linker

https://github.com/rui314/mold

sudo dnf install mold
  • License: MIT AND (Apache-2.0 OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mold
  • 11 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mold
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mold from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

mold 2.41.0-1

A Modern Linker

https://github.com/rui314/mold

sudo pacman -S mold
  • License: MIT
  • Architecture: x86_64
  • 6 dependencies
  • normalized package name match
  • Matched by: Mold
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mold from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

mold 2.41.0-1.2

A Modern Linker (mold)

https://github.com/rui314/mold

sudo zypper install mold
  • License: MIT
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: mold
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mold
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mold from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

mold

sudo port install mold
  • normalized package name match
  • Matched by: Mold
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/mold/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/mold

scoop install main/mold
  • normalized package name match
  • Matched by: Mold
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mold.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment