# Install wasm-component-ld with Homebrew, apk, MacPorts, pacman

Linker for creating WebAssembly components. Version 0.5.26 via Homebrew; verified 2026-07-07.

## Install

```sh
sudo av install brew:wasm-component-ld
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wasm-component-ld
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wasm-component-ld
```

  Evidence: MacPorts ports tree: lang/wasm-component-ld/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add wasm-component-ld
```

  Evidence: Alpine Linux edge package indexes: wasm-component-ld from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- pacman (92%):

```sh
sudo pacman -S wasm-component-ld
```

  Evidence: Arch Linux sync databases: wasm-component-ld from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:wasm-component-ld
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wasm-component-ld>
- **Version:** 0.5.26
- **Source summary:** Linker for creating WebAssembly components
- **Homepage:** <https://wasi.dev>
- **Repository:** <https://github.com/bytecodealliance/wasm-component-ld>
- **Upstream docs:** <https://component-model.bytecodealliance.org/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/bytecodealliance/wasm-component-ld/archive/refs/tags/v0.5.26.tar.gz>
- **Last updated:** 2026-07-07T20:34:52Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- wasm-component-ld (cli)
- wasm-component-ld (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.5.26
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/bytecodealliance/wasm-component-ld
- Upstream latest detected: v0.5.26 (current)
## Project history and usage

wasm-component-ld is a Bytecode Alliance command-line linker for producing WebAssembly components. It sits at the boundary between traditional object linking and the WebAssembly component model, wrapping LLVM's `wasm-ld` flow and then componentizing the result.

### Project history

The repository was created on December 12, 2023, as the component model was becoming a practical build target rather than only a specification. Its README describes the binary as a wrapper around two operations: invoking the LLVM `wasm-ld` linker driver and then using `wit_component::ComponentEncoder` to produce a final component.

The project is intentionally small and specialized. It exists because component-model artifacts need more than a core Wasm link step: metadata, WIT interfaces, adapters, and component encoding have to line up with the component model's interoperability contract.

### Adoption history

wasm-component-ld follows the broader Bytecode Alliance push around WASI and the component model. The official component-model documentation frames components as a way to build interoperable WebAssembly libraries, applications, and environments, with user documentation for building, using, composing, and distributing components.

### How it is used

The package is used by developers and language toolchain authors who need a command-line linker that emits a component rather than only a core module. In practice it belongs near C, C++, and other non-Rust workflows where LLVM already produces Wasm object files and the final artifact must become a component.

### Why package nerds care

Its significance is not broad end-user adoption but toolchain plumbing. For package maintainers, it marks the arrival of component-model-specific linker binaries as installable system tools, similar to how `wasm-ld`, `wasm-tools`, and `wit-bindgen` occupy distinct slots in a modern Wasm toolchain.

### Timeline

- 2023-12-12: Public GitHub repository created.
- 2024-2026: Releases track ongoing component-model tooling work.
- 2026-06-12: GitHub releases list v0.5.25 as the latest release at research time.

### Related projects

- Related Bytecode Alliance tooling includes wasm-tools for inspecting and manipulating modules and components, wit-bindgen for interface bindings, cargo-component for Rust component builds, and LLVM's wasm-ld linker.

### Sources

- <https://api.github.com/repos/bytecodealliance/wasm-component-ld>
- <https://component-model.bytecodealliance.org/>
- <https://github.com/bytecodealliance/wasm-component-ld>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wasm-component-ld
- **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:** head, stable

## Other Package-Manager Records

- apk - wasm-component-ld - 1.96.0-r0: normalized package name match | Alpine Linux edge package indexes: wasm-component-ld from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Command line linker for creating WebAssembly components | https://github.com/bytecodealliance/wasm-component-ld
- pacman - wasm-component-ld - 0.5.22-1: normalized package name match | Arch Linux sync databases: wasm-component-ld from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command line linker for creating WebAssembly components | https://github.com/bytecodealliance/wasm-component-ld
- MacPorts - wasm-component-ld: normalized package name match | MacPorts ports tree: lang/wasm-component-ld/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-component](https://www.automicvault.com/pkg/brew/cargo-component/) - Shares av.db curated category or tags: cli, component-model, developer-tools, webassembly.
- [wasm-tools](https://www.automicvault.com/pkg/brew/wasm-tools/) - Shares av.db curated category or tags: bytecode-alliance, cli, developer-tools, webassembly.
- [wasmtime](https://www.automicvault.com/pkg/brew/wasmtime/) - Shares av.db curated category or tags: cli, component-model, developer-tools, webassembly.
- [bold](https://www.automicvault.com/pkg/brew/bold/) - Shares av.db curated category or tags: cli, developer-tools, linker.
- [ic-wasm](https://www.automicvault.com/pkg/brew/ic-wasm/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [lld](https://www.automicvault.com/pkg/brew/lld/) - Shares av.db curated category or tags: cli, developer-tools, linker.
- [mold](https://www.automicvault.com/pkg/brew/mold/) - Shares av.db curated category or tags: cli, developer-tools, linker.
- [wabt](https://www.automicvault.com/pkg/brew/wabt/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasm-bindgen](https://www.automicvault.com/pkg/brew/wasm-bindgen/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, wasm, webassembly.

## Combined YAML source

View the package source record on GitHub. [combined/wasm-component-ld.yml](https://github.com/automic-vault/db/blob/main/combined/wasm-component-ld.yml)


## Sources

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