macOS
brew install binaryenlocal Homebrew formula metadata
sudo port install binaryenMacPorts ports tree · lang/binaryen/Portfile · 来源: api.github.com
安装
brew install binaryenlocal Homebrew formula metadata
sudo port install binaryenMacPorts ports tree · lang/binaryen/Portfile · 来源: api.github.com
sudo apk add binaryenAlpine Linux edge package indexes · binaryen · 来源: dl-cdn.alpinelinux.org
sudo apt install binaryenDebian stable package indexes · binaryen · 来源: deb.debian.org
sudo dnf install binaryenFedora Rawhide package metadata · binaryen · 来源: dl.fedoraproject.org
nix profile install nixpkgs#binaryennixpkgs package indexes · binaryen · 来源: raw.githubusercontent.com
sudo pacman -S binaryenArch Linux sync databases · binaryen · 来源: geo.mirror.pkgbuild.com
sudo zypper install binaryenopenSUSE Tumbleweed package metadata · binaryen · 来源: download.opensuse.org
scoop install main/binaryenScoop official bucket manifest trees · bucket/binaryen.json · 来源: api.github.com
概览
Compiler infrastructure and toolchain library for WebAssembly
历史
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.
安全态势
generalized runtime or code generation signal. infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wasm-as | cli | 全局可执行文件 | |
wasm-ctor-eval | cli | 全局可执行文件 | |
wasm-dis | cli | 全局可执行文件 | |
wasm-emscripten-finalize | cli | 全局可执行文件 | |
wasm-fuzz-lattices | cli | 全局可执行文件 | |
wasm-fuzz-types | cli | 全局可执行文件 | |
wasm-merge | cli | 全局可执行文件 | |
wasm-metadce | cli | 全局可执行文件 | |
wasm-opt | cli | 全局可执行文件 | |
wasm-reduce | cli | 全局可执行文件 | |
wasm-shell | cli | 全局可执行文件 | |
wasm-split | cli | 全局可执行文件 | |
wasm2js | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/WebAssembly/binaryen
安装元数据
| 软件包键 | brew:binaryen |
|---|---|
| 版本 | 130 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/binaryen |
| 主页 | https://webassembly.org/ |
| 仓库 | https://github.com/WebAssembly/binaryen |
| 上游文档 | https://github.com/WebAssembly/binaryen#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/WebAssembly/binaryen/archive/refs/tags/version_130.tar.gz |
| 最后更新 | 2026-06-01T22:50:47Z |
| Pulse | updated |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/binaryen来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.