# Install wasm-tools with Homebrew, apk, Nix, pacman

Low level tooling for WebAssembly in Rust. Version 1.253.0 via Homebrew; verified 2026-07-07.

## Install

```sh
sudo av install brew:wasm-tools
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wasm-tools
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wasm-tools
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#wasm-tools
```

  Evidence: nixpkgs package indexes: pkgs/by-name/wa/wasm-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S wasm-tools
```

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

## Package facts

- **Package key:** brew:wasm-tools
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wasm-tools>
- **Version:** 1.253.0
- **Source summary:** Low level tooling for WebAssembly in Rust
- **Homepage:** <https://github.com/bytecodealliance/wasm-tools>
- **Repository:** <https://github.com/bytecodealliance/wasm-tools>
- **Upstream docs:** <https://github.com/bytecodealliance/wasm-tools#readme>
- **License:** Apache-2.0 WITH LLVM-exception
- **Source archive:** <https://github.com/bytecodealliance/wasm-tools/archive/refs/tags/v1.253.0.tar.gz>
- **Last updated:** 2026-07-07T20:34:49Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- wasm-tools (cli)
- wasm-tools (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: 1.253.0
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/bytecodealliance/wasm-tools
- Upstream latest detected: v1.253.0 (current)
## Project history and usage

wasm-tools is the Bytecode Alliance's Rust-based command-line toolbox and library collection for low-level manipulation of WebAssembly modules and components. It bundles validators, parsers, printers, metadata tools, fuzzing and mutation tools, debugging helpers, and component-model subcommands behind one `wasm-tools` binary.

### Project history

The public repository was created on May 19, 2020, after the Bytecode Alliance had formed around WebAssembly and WASI tooling. It gathered a family of Rust crates and CLI subcommands for operations that package authors, runtime developers, and standards implementers repeatedly need when inspecting or transforming Wasm artifacts.

The README describes the CLI as useful for debugging WebAssembly modules and components, with subcommands that also correspond to programmatic Rust crates such as `wasmparser`, `wat`, `wast`, `wasmprinter`, `wasm-smith`, `wasm-mutate`, `wasm-shrink`, `wit-component`, and `wasm-metadata`.

### Adoption history

wasm-tools grew in importance as WebAssembly moved beyond single core modules. The official component-model documentation describes components as an architecture for interoperable WebAssembly libraries, applications, and environments, and wasm-tools now includes component-focused commands for extracting WIT, embedding component type metadata, creating components, unbundling components, and converting WIT between text, JSON, and binary encodings.

The package is heavily used as infrastructure rather than as an end-user application. Its subcommands map to the daily chores of Wasm toolchain work: validate a module, round-trip text and binary formats, strip or inspect sections, demangle symbols, generate test cases, shrink reducer inputs, or examine component interfaces.

### How it is used

Typical command-line usage is pipeline-friendly. The README shows examples such as parsing WAT to Wasm, printing Wasm back to text, validating modules, demangling and stripping custom sections, and using `wasm-tools component wit` or `wasm-tools component new` for component-model workflows.

The CLI conventions matter for package users: subcommands read from stdin when no file is given, write to stdout unless `--output` is supplied, can emit text format with `--wat` where applicable, and share standard help, verbosity, and color behavior. That makes it useful in scripts, CI, fuzzing harnesses, and reproducible packaging pipelines.

### Why package nerds care

wasm-tools is the package-manager-friendly face of a large slice of the Rust WebAssembly infrastructure stack. Installing one binary gives maintainers access to tools that otherwise live as separate crates or test utilities, making it the Wasm equivalent of a Swiss-army debug and transform tool for modules and components.

### Timeline

- 2020-05-19: Public GitHub repository created.
- 2020s: Tool grows into a multi-crate CLI covering validation, parsing, printing, fuzzing, mutation, shrinking, metadata, and component-model tasks.
- 2026-06-12: GitHub releases show v1.252.0 as the latest release at research time.

### Related projects

- Related projects include Wasmtime, wasm-component-ld, wit-bindgen, cargo-component, the WebAssembly Component Model, and lower-level crates such as wasmparser, wat, wast, wasmprinter, wasm-smith, wasm-mutate, wasm-shrink, and wit-component.

### Sources

- <https://api.github.com/repos/bytecodealliance/wasm-tools>
- <https://bytecodealliance.org/projects>
- <https://component-model.bytecodealliance.org/>
- <https://docs.rs/wasm-tools/latest/wasm_tools/>
- <https://github.com/bytecodealliance/wasm-tools>


## Security Notes

No matching local secret-handling manifest was found for wasm-tools. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wasm-tools
- **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

- Nix - wasm-tools: normalized package name match | nixpkgs package indexes: pkgs/by-name/wa/wasm-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - wasm-tools - 1.236.0-r0: normalized package name match | Alpine Linux edge package indexes: wasm-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI for low-level manipulation of WebAssembly modules | https://github.com/bytecodealliance/wasm-tools
- apk - wasm-tools-doc - 1.236.0-r0: normalized package name match | Alpine Linux edge package indexes: wasm-tools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI for low-level manipulation of WebAssembly modules (documentation) | https://github.com/bytecodealliance/wasm-tools
- pacman - wasm-tools - 1.251.0-1: normalized package name match | Arch Linux sync databases: wasm-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Low level tooling for WebAssembly in Rust | https://github.com/bytecodealliance/wasm-tools


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [wasm3](https://www.automicvault.com/pkg/brew/wasm3/) - Package name indicates the same formula family.
- [cargo-component](https://www.automicvault.com/pkg/brew/cargo-component/) - Shares av.db curated category or tags: cli, developer-tools, rust, webassembly.
- [wasm-bindgen](https://www.automicvault.com/pkg/brew/wasm-bindgen/) - Shares av.db curated category or tags: cli, developer-tools, rust, webassembly.
- [wasm-component-ld](https://www.automicvault.com/pkg/brew/wasm-component-ld/) - Shares av.db curated category or tags: bytecode-alliance, cli, developer-tools, webassembly.
- [wasm-pack](https://www.automicvault.com/pkg/brew/wasm-pack/) - Shares av.db curated category or tags: cli, developer-tools, rust, webassembly.
- [ic-wasm](https://www.automicvault.com/pkg/brew/ic-wasm/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [rgbds](https://www.automicvault.com/pkg/brew/rgbds/) - Shares av.db curated category or tags: cli, developer-tools, toolchain.
- [wabt](https://www.automicvault.com/pkg/brew/wabt/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasmedge](https://www.automicvault.com/pkg/brew/wasmedge/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.

## Combined YAML source

View the package source record on GitHub. [combined/wasm-tools.yml](https://github.com/automic-vault/db/blob/main/combined/wasm-tools.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
