# Install wabt with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop

Web Assembly Binary Toolkit. Version 1.0.41 via Homebrew; verified 2026-05-07. Also installable with debian: sudo apt install wabt.

## Install

```sh
sudo av install brew:wabt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wabt
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wabt
```

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

### Linux

- apk (92%):

```sh
sudo apk add wabt
```

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

- Debian apt (92%):

```sh
sudo apt install wabt
```

  Evidence: Debian stable package indexes: wabt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install wabt
```

  Evidence: Fedora Rawhide package metadata: wabt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#wabt
```

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

- pacman (92%):

```sh
sudo pacman -S wabt
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/wabt
```

  Evidence: Scoop official bucket manifest trees: bucket/wabt.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:wabt
- **Package manager:** Homebrew
- **Version:** 1.0.41
- **Source summary:** Web Assembly Binary Toolkit
- **Homepage:** <https://github.com/WebAssembly/wabt>
- **Repository:** <https://github.com/WebAssembly/wabt>
- **Last updated:** 2026-05-07T20:22:26Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- spectest-interp (alias)
- wasm-decompile (alias)
- wasm-interp (alias)
- wasm-objdump (alias)
- wasm-stats (alias)
- wasm-strip (alias)
- wasm-validate (alias)
- wasm2c (alias)
- wasm2wat (alias)
- wast2json (alias)
- wat-desugar (alias)
- wat2wasm (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.41
## Project history and usage

WABT, the WebAssembly Binary Toolkit, is the low-level command-line toolbox for reading, writing, validating, disassembling, interpreting, stripping, and converting WebAssembly modules.

### Project history

The WABT repository was created in September 2015, during WebAssembly's early design period. It lives under the WebAssembly GitHub organization and describes itself as a suite of tools for WebAssembly rather than a compiler front end or runtime.

WABT grew alongside WebAssembly's standardization. The WebAssembly Community Group reached initial browser consensus in 2017, the W3C publication history records the first public working draft in February 2018, and WebAssembly Core 1.0 became a W3C Recommendation on 5 December 2019. WABT's job throughout that period was to provide practical tools around the binary and text formats that implementers, compiler authors, and curious low-level users needed.

### Adoption history

The official WebAssembly advanced-tools page points low-level users toward tools for building and processing source files and generated binary content, especially compiler writers and people experimenting with the raw format. WABT became one of the default packages for that niche because it exposes the core format operations directly: text-to-binary, binary-to-text, validation, objdump-style inspection, interpretation, and test conversion.

### How it is used

The most recognizable WABT commands are `wat2wasm` and `wasm2wat`, which translate between WebAssembly text format and binary format. The suite also includes `wasm-objdump`, `wasm-interp`, `wasm2c`, `wasm-strip`, `wasm-validate`, `wast2json`, `wasm-stats`, and `spectest-interp`, covering inspection, execution, C translation, section stripping, validation, and spec-test workflows.

In practice, WABT is used by people hand-writing WAT, debugging generated Wasm, checking whether a module validates, reducing binaries for test cases, converting spec tests into runnable artifacts, or inspecting compiler output without committing to a full browser or runtime.

### Why package nerds care

WABT is significant because WebAssembly has a compact binary representation and a human-readable text representation, and developers constantly need to move between the two. For package nerds it is the binutils-like kit for Wasm: boring, sharp, scriptable tools that make the format observable.

Unlike the WebAssembly spec interpreter, which the WABT README characterizes as deliberately simple and specification-oriented, WABT is written in C/C++ and designed for easier integration into other systems. That makes it useful in build systems, tests, research tooling, and language-toolchain plumbing.

### Timeline

- 2015: The WebAssembly/wabt repository was created.
- 2017: WebAssembly browser implementers reached consensus on the initial MVP API and binary format.
- 2018: WebAssembly Core 1.0 entered W3C First Public Working Draft status.
- 2019: WebAssembly Core 1.0 became a W3C Recommendation.
- 2020s: WABT continued tracking WebAssembly feature work through tool feature flags and releases.

### Related projects

- WABT is adjacent to Emscripten, Binaryen, WebAssembly specifications, WASI, browser developer tools, and language compilers that emit Wasm. It is often used after a compiler has produced a module, or before a runtime consumes one.

### Sources

- <https://api.github.com/repos/WebAssembly/wabt>
- <https://github.com/WebAssembly/wabt>
- <https://webassembly.org/features/>
- <https://webassembly.org/getting-started/advanced-tools/>
- <https://webassembly.org/specs/>
- <https://www.w3.org/standards/history/wasm-core-1/>


## Security Notes

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


## Other Package-Manager Records

- Debian apt - wabt - 1.0.36+dfsg+~cs1.0.36-2: normalized package name match | Debian stable package indexes: wabt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | WebAssembly Binary Toolkit | https://github.com/WebAssembly/wabt
- Nix - wabt: normalized package name match | nixpkgs package indexes: pkgs/by-name/wa/wabt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - wabt - 1.0.34+dsfg2+~cs1.0.32-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: wabt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | WebAssembly Binary Toolkit | https://github.com/WebAssembly/wabt
- apk - wabt - 1.0.41-r0: normalized package name match | Alpine Linux edge package indexes: wabt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | WebAssembly binary toolkit | https://github.com/WebAssembly/wabt
- apk - wabt-doc - 1.0.41-r0: normalized package name match | Alpine Linux edge package indexes: wabt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | WebAssembly binary toolkit (documentation) | https://github.com/WebAssembly/wabt
- dnf - wabt - 1.0.41-3.fc45: normalized package name match | Fedora Rawhide package metadata: wabt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The WebAssembly Binary Toolkit | https://github.com/WebAssembly/wabt
- pacman - wabt - 1.0.41-1: normalized package name match | Arch Linux sync databases: wabt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The WebAssembly Binary Toolkit: a suite of tools for WebAssembly | https://github.com/WebAssembly/wabt
- MacPorts - wabt: normalized package name match | MacPorts ports tree: lang/wabt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/wabt: normalized package name match | Scoop official bucket manifest trees: bucket/wabt.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/wabt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wabt.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
