macOS
brew install binaryenlocal Homebrew formula metadata
sudo port install binaryenMacPorts ports tree · lang/binaryen/Portfile · source: api.github.com
brew
Compiler infrastructure and toolchain library for WebAssembly. Version 130 via Homebrew; verified 2026-06-01.
install
brew install binaryenlocal Homebrew formula metadata
sudo port install binaryenMacPorts ports tree · lang/binaryen/Portfile · source: api.github.com
sudo apk add binaryenAlpine Linux edge package indexes · binaryen · source: dl-cdn.alpinelinux.org
sudo apt install binaryenDebian stable package indexes · binaryen · source: deb.debian.org
sudo dnf install binaryenFedora Rawhide package metadata · binaryen · source: dl.fedoraproject.org
nix profile install nixpkgs#binaryennixpkgs package indexes · binaryen · source: raw.githubusercontent.com
sudo pacman -S binaryenArch Linux sync databases · binaryen · source: geo.mirror.pkgbuild.com
sudo zypper install binaryenopenSUSE Tumbleweed package metadata · binaryen · source: download.opensuse.org
scoop install main/binaryenScoop official bucket manifest trees · bucket/binaryen.json · source: api.github.com
overview
Compiler infrastructure and toolchain library for WebAssembly
history
Binaryen is the WebAssembly community's optimizer and compiler/toolchain infrastructure library, best known to package users through commands such as `wasm-opt`, `wasm-as`, `wasm-dis`, and `wasm2js`.
The official repository was created on 2015-10-29, during WebAssembly's early standardization era. Binaryen's README describes it as a C++ compiler and toolchain infrastructure library with an IR designed to be easy, fast, and effective for WebAssembly optimization and code generation.
Binaryen became a common toolchain component rather than just a standalone compiler. The official README lists Emscripten, wasm-pack, J2CL/J2Wasm, Kotlin/Wasm, Dart/Flutter Wasm, and wasm_of_ocaml as toolchains that run Binaryen components, typically `wasm-opt`; it also lists AssemblyScript, wasm2js, Asterius, and Grain as compilers or compiler-related projects using Binaryen as a library.
Package users most often install Binaryen for `wasm-opt` to shrink or speed up `.wasm` artifacts, for `wasm-as` and `wasm-dis` to move between text-like and binary representations, for `wasm-merge`, `wasm-split`, and `wasm-reduce` in build/debug loops, and for `wasm2js` when a JavaScript fallback is needed.
Binaryen is package-nerd important because it is the small executable bundle that turns WebAssembly from a browser format into a normal Unix build artifact: optimize it, disassemble it, reduce it, merge it, split it, fuzz it, and ship it from CI. It sits in the same practical layer for Wasm that binutils, LLVM tools, and minifiers occupy for older ecosystems.
security posture
generalized runtime or code generation signal. infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
wasm-as | cli | global executable | |
wasm-ctor-eval | cli | global executable | |
wasm-dis | cli | global executable | |
wasm-emscripten-finalize | cli | global executable | |
wasm-fuzz-lattices | cli | global executable | |
wasm-fuzz-types | cli | global executable | |
wasm-merge | cli | global executable | |
wasm-metadce | cli | global executable | |
wasm-opt | cli | global executable | |
wasm-reduce | cli | global executable | |
wasm-shell | cli | global executable | |
wasm-split | cli | global executable | |
wasm2js | cli | global executable |
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.
https://github.com/WebAssembly/binaryen
install metadata
| Package key | brew:binaryen |
|---|---|
| Version | 130 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/binaryen |
| Homepage | https://webassembly.org/ |
| Repository | https://github.com/WebAssembly/binaryen |
| Upstream docs | https://github.com/WebAssembly/binaryen#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/WebAssembly/binaryen/archive/refs/tags/version_130.tar.gz |
| Last updated | 2026-06-01T22:50:47Z |
| Pulse | updated |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | binaryen |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
binaryen 120-4
compiler and toolchain infrastructure library for WebAssembly
https://github.com/WebAssembly/binaryen
sudo apt install binaryenbinaryen
nix profile install nixpkgs#binaryenbinaryen 108-1
compiler and toolchain infrastructure library for WebAssembly
https://github.com/WebAssembly/binaryen
sudo apt install binaryenbinaryen 129-r0
Compiler infrastructure and toolchain library for WebAssembly, in C++
https://github.com/WebAssembly/binaryen
sudo apk add binaryenbinaryen-dev 129-r0
Compiler infrastructure and toolchain library for WebAssembly, in C++ (development files)
https://github.com/WebAssembly/binaryen
sudo apk add binaryen-devbinaryen 129-2.fc45
Compiler and toolchain infrastructure library for WebAssembly
https://github.com/WebAssembly/binaryen
sudo dnf install binaryenbinaryen 1:130-1
Compiler infrastructure and toolchain library for WebAssembly, in C++
https://github.com/WebAssembly/binaryen
sudo pacman -S binaryenemscripten 6.0.0-1
Compile C and C++ into highly-optimizable JavaScript for the web
sudo pacman -S emscriptenbinaryen 123-1.3
Compiler infrastructure and toolchain library for WebAssembly
https://github.com/WebAssembly/binaryen
sudo zypper install binaryenlibbinaryen 123-1.3
Library for binaryen
https://github.com/WebAssembly/binaryen
sudo zypper install libbinaryenlibbinaryen-devel 123-1.3
Development files for libbinaryen
https://github.com/WebAssembly/binaryen
sudo zypper install libbinaryen-develbinaryen
sudo port install binaryenmain/binaryen
scoop install main/binaryensource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.