AptLynx

Command-line tool

binaryen

brew/binaryen

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Compiler infrastructure and toolchain library for WebAssembly

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop install binaryen

macOS

brew install binaryen

Linux

brew install binaryen

Apply default optimizations and write to a given file

wasm-opt -O input.wasm -o output.wasm

Apply all optimizations and write to a given file (takes more time, but generates optimal code)

wasm-opt -O4 input.wasm -o output.wasm

Optimize a file for size

wasm-opt -Oz input.wasm -o output.wasm

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents