# binaryen を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper でインストール

binaryen のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:binaryen
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install binaryen
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install binaryen
```

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

### Linux

- apk (92%):

```sh
sudo apk add binaryen
```

  証拠: Alpine Linux edge package indexes: binaryen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install binaryen
```

  証拠: Debian stable package indexes: binaryen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install binaryen
```

  証拠: Fedora Rawhide package metadata: binaryen from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#binaryen
```

  証拠: nixpkgs package indexes: binaryen from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S binaryen
```

  証拠: Arch Linux sync databases: binaryen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install binaryen
```

  証拠: openSUSE Tumbleweed package metadata: binaryen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/binaryen
```

  証拠: Scoop official bucket manifest trees: bucket/binaryen.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:binaryen
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/binaryen>
- **バージョン:** 130
- **ソース概要:** Compiler infrastructure and toolchain library for WebAssembly
- **ホームページ:** <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
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- 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)
- 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 (エイリアス)

## ビルド依存関係

- cmake

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 130
- マネージャ更新日: 2026-06-01
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/WebAssembly/binaryen
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** orange / 中
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal

## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - binaryen - 120-4: normalized package name match | Debian stable package indexes: binaryen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | compiler and toolchain infrastructure library for WebAssembly | https://github.com/WebAssembly/binaryen
- Nix - binaryen: normalized package name match | nixpkgs package indexes: binaryen from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - binaryen - 108-1: normalized package name match | Ubuntu 24.04 LTS package indexes: binaryen from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | compiler and toolchain infrastructure library for WebAssembly | https://github.com/WebAssembly/binaryen
- apk - binaryen - 129-r0: normalized package name match | Alpine Linux edge package indexes: binaryen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compiler infrastructure and toolchain library for WebAssembly, in C++ | https://github.com/WebAssembly/binaryen
- apk - binaryen-dev - 129-r0: normalized package name match | Alpine Linux edge package indexes: binaryen-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compiler infrastructure and toolchain library for WebAssembly, in C++ (development files) | https://github.com/WebAssembly/binaryen
- dnf - binaryen - 129-2.fc45: normalized package name match | Fedora Rawhide package metadata: binaryen from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Compiler and toolchain infrastructure library for WebAssembly | https://github.com/WebAssembly/binaryen
- pacman - binaryen - 1:130-1: normalized package name match | Arch Linux sync databases: binaryen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compiler infrastructure and toolchain library for WebAssembly, in C++ | https://github.com/WebAssembly/binaryen
- pacman - emscripten - 6.0.0-1: normalized package name match | Arch Linux sync databases: emscripten from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compile C and C++ into highly-optimizable JavaScript for the web | https://emscripten.org
- zypper - binaryen - 123-1.3: normalized package name match | openSUSE Tumbleweed package metadata: binaryen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Compiler infrastructure and toolchain library for WebAssembly | https://github.com/WebAssembly/binaryen
- zypper - libbinaryen - 123-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libbinaryen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for binaryen | https://github.com/WebAssembly/binaryen
- zypper - libbinaryen-devel - 123-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libbinaryen-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for libbinaryen | https://github.com/WebAssembly/binaryen
- MacPorts - binaryen: normalized package name match | MacPorts ports tree: lang/binaryen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/binaryen: normalized package name match | Scoop official bucket manifest trees: bucket/binaryen.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 関連リンク

- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/ja/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [emscripten](https://www.automicvault.com/ja/pkg/brew/emscripten/) - Shares av.db curated category or tags: cli, compiler, developer-tools, webassembly.
- [aarch64-elf-gcc](https://www.automicvault.com/ja/pkg/brew/aarch64-elf-gcc/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [adaptivecpp](https://www.automicvault.com/ja/pkg/brew/adaptivecpp/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [alive2](https://www.automicvault.com/ja/pkg/brew/alive2/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [arm-none-eabi-gcc](https://www.automicvault.com/ja/pkg/brew/arm-none-eabi-gcc/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [asn1c](https://www.automicvault.com/ja/pkg/brew/asn1c/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [aspectj](https://www.automicvault.com/ja/pkg/brew/aspectj/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [babel](https://www.automicvault.com/ja/pkg/brew/babel/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [spirv-tools](https://www.automicvault.com/ja/pkg/brew/spirv-tools/) - Local package facts share a topical domain. Shared terms: cli, compiler, developer, developer-tools, dis.

## Combined YAML source

View the package source record on GitHub. [combined/binaryen.yml](https://github.com/automic-vault/db/blob/main/combined/binaryen.yml)


## ソース

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