Automic VaultAutomic Vault

brew

Install binaryen with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Compiler infrastructure and toolchain library for WebAssembly. Version 130 via Homebrew; verified 2026-06-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install binaryen

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install binaryen

MacPorts ports tree · lang/binaryen/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add binaryen

Alpine Linux edge package indexes · binaryen · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install binaryen

Debian stable package indexes · binaryen · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install binaryen

Fedora Rawhide package metadata · binaryen · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#binaryen

nixpkgs package indexes · binaryen · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S binaryen

Arch Linux sync databases · binaryen · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install binaryen

openSUSE Tumbleweed package metadata · binaryen · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/binaryen

Scoop official bucket manifest trees · bucket/binaryen.json · source: api.github.com

overview

Package summary

Compiler infrastructure and toolchain library for WebAssembly

Commands and aliases

  • wasm-as
  • wasm-ctor-eval
  • wasm-dis
  • wasm-emscripten-finalize
  • wasm-fuzz-lattices
  • wasm-fuzz-types
  • wasm-merge
  • wasm-metadce
  • wasm-opt
  • wasm-reduce
  • wasm-shell
  • wasm-split
  • wasm2js

history

Project history and usage

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`.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2015-10-29: GitHub repository created under the WebAssembly organization.
  • 2018-07-23: Early GitHub release archive includes 1.38.9.
  • 2018-10-11: GitHub release archive includes 1.38.13.
  • 2026: Repository metadata shows active maintenance.

Related projects

  • Related projects include WebAssembly, Emscripten, WABT, LLVM, wasm-pack, AssemblyScript, wasm2js, Kotlin/Wasm, Dart/Flutter Wasm, Grain, and Asterius.

Sources

  • GitHub repository and release metadata from api.github.com.
  • Official GitHub README.
  • Packaged executable and package-manager facts from source_facts.

security posture

Risk level: orange

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • generalized runtime or code generation signal
  • infrastructure mutation or orchestration signal

Signals

  • text:infrastructure
  • text:shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
wasm-ascliglobal executable
wasm-ctor-evalcliglobal executable
wasm-discliglobal executable
wasm-emscripten-finalizecliglobal executable
wasm-fuzz-latticescliglobal executable
wasm-fuzz-typescliglobal executable
wasm-mergecliglobal executable
wasm-metadcecliglobal executable
wasm-optcliglobal executable
wasm-reducecliglobal executable
wasm-shellcliglobal executable
wasm-splitcliglobal executable
wasm2jscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version130
manager updated2026-06-01
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/WebAssembly/binaryen

install metadata

Package metadata

Package keybrew:binaryen
Version130
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/binaryen
Homepagehttps://webassembly.org/
Repositoryhttps://github.com/WebAssembly/binaryen
Upstream docshttps://github.com/WebAssembly/binaryen#readme
LicenseApache-2.0
Source archivehttps://github.com/WebAssembly/binaryen/archive/refs/tags/version_130.tar.gz
Last updated2026-06-01T22:50:47Z
Pulseupdated
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebinaryen
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

binaryen 120-4

compiler and toolchain infrastructure library for WebAssembly

https://github.com/WebAssembly/binaryen

sudo apt install binaryen
  • Section: devel
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Binaryen
Debian stable package indexes · deb.debian.org · Debian stable package indexes: binaryen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

binaryen

nix profile install nixpkgs#binaryen
  • normalized package name match
  • Matched by: Binaryen
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: binaryen from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

binaryen 108-1

compiler and toolchain infrastructure library for WebAssembly

https://github.com/WebAssembly/binaryen

sudo apt install binaryen
  • Section: universe/devel
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Binaryen
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: binaryen from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

binaryen 129-r0

Compiler infrastructure and toolchain library for WebAssembly, in C++

https://github.com/WebAssembly/binaryen

sudo apk add binaryen
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: binaryen
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Binaryen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: binaryen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

binaryen-dev 129-r0

Compiler infrastructure and toolchain library for WebAssembly, in C++ (development files)

https://github.com/WebAssembly/binaryen

sudo apk add binaryen-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: binaryen
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Binaryen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: binaryen-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

binaryen 129-2.fc45

Compiler and toolchain infrastructure library for WebAssembly

https://github.com/WebAssembly/binaryen

sudo dnf install binaryen
  • License: Apache-2.0 AND bcrypt-Solar-Designer
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: binaryen
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Binaryen
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: binaryen from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

binaryen 1:130-1

Compiler infrastructure and toolchain library for WebAssembly, in C++

https://github.com/WebAssembly/binaryen

sudo pacman -S binaryen
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Binaryen
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: binaryen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

emscripten 6.0.0-1

Compile C and C++ into highly-optimizable JavaScript for the web

https://emscripten.org

sudo pacman -S emscripten
  • License: custom
  • Architecture: x86_64
  • 6 dependencies
  • 1 provides
  • 3 optional deps
  • normalized package name match
  • Matched by: Binaryen
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: emscripten from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

binaryen 123-1.3

Compiler infrastructure and toolchain library for WebAssembly

https://github.com/WebAssembly/binaryen

sudo zypper install binaryen
  • License: Apache-2.0
  • Category: Development/Tools
  • Architecture: x86_64
  • Source Package: binaryen
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Binaryen
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: binaryen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libbinaryen 123-1.3

Library for binaryen

https://github.com/WebAssembly/binaryen

sudo zypper install libbinaryen
  • License: Apache-2.0
  • Category: Development/Tools
  • Architecture: x86_64
  • Source Package: binaryen
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Binaryen
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libbinaryen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libbinaryen-devel 123-1.3

Development files for libbinaryen

https://github.com/WebAssembly/binaryen

sudo zypper install libbinaryen-devel
  • License: Apache-2.0
  • Category: Development/Tools
  • Architecture: x86_64
  • Source Package: binaryen
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Binaryen
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libbinaryen-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

binaryen

sudo port install binaryen
  • normalized package name match
  • Matched by: Binaryen
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/binaryen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/binaryen

scoop install main/binaryen
  • normalized package name match
  • Matched by: Binaryen
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/binaryen.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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