AptLynx

Command-line tool

mold

brew/mold

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Modern Linker

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop install mold

macOS

brew install mold

Linux

brew install mold

Run a build command such as `make`, `ninja`, or `cargo`, with `mold` used in place of `ld`

mold --run command arguments

Link object files into an executable

mold path/to/file1.o path/to/file2.o ... -o path/to/output_executable

Link object files into a shared library

mold --shared path/to/file1.o path/to/file2.o ... -o path/to/library.so

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents