# wasm-tools を Homebrew, apk, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:wasm-tools
```

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

### macOS

- Homebrew (100%):

```sh
brew install wasm-tools
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wasm-tools
```

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

### Linux

- apk (92%):

```sh
sudo apk add wasm-tools
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#wasm-tools
```

  証拠: nixpkgs package indexes: pkgs/by-name/wa/wasm-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S wasm-tools
```

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

## パッケージ情報

- **パッケージキー:** brew:wasm-tools
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/wasm-tools>
- **バージョン:** 1.255.0
- **ソース概要:** Low level tooling for WebAssembly in Rust
- **ホームページ:** <https://github.com/bytecodealliance/wasm-tools>
- **リポジトリ:** <https://github.com/bytecodealliance/wasm-tools>
- **ライセンス:** Apache-2.0 WITH LLVM-exception
- **ソースアーカイブ:** <https://github.com/bytecodealliance/wasm-tools/archive/refs/tags/v1.255.0.tar.gz>
- **最終更新:** 2026-07-30T22:48:11Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- wasm-tools (cli)
- wasm-tools (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.255.0
- マネージャ更新日: 2026-07-30
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bytecodealliance/wasm-tools
- 検出された最新: v1.255.0 (最新)
## プロジェクトの歴史と使われ方

wasm-tools is the Bytecode Alliance's Rust-based command-line toolbox and library collection for low-level manipulation of WebAssembly modules and components. It bundles validators, parsers, printers, metadata tools, fuzzing and mutation tools, debugging helpers, and component-model subcommands behind one `wasm-tools` binary.

### プロジェクトの歴史

The public repository was created on May 19, 2020, after the Bytecode Alliance had formed around WebAssembly and WASI tooling. It gathered a family of Rust crates and CLI subcommands for operations that package authors, runtime developers, and standards implementers repeatedly need when inspecting or transforming Wasm artifacts.

The README describes the CLI as useful for debugging WebAssembly modules and components, with subcommands that also correspond to programmatic Rust crates such as `wasmparser`, `wat`, `wast`, `wasmprinter`, `wasm-smith`, `wasm-mutate`, `wasm-shrink`, `wit-component`, and `wasm-metadata`.

### 採用の歴史

wasm-tools grew in importance as WebAssembly moved beyond single core modules. The official component-model documentation describes components as an architecture for interoperable WebAssembly libraries, applications, and environments, and wasm-tools now includes component-focused commands for extracting WIT, embedding component type metadata, creating components, unbundling components, and converting WIT between text, JSON, and binary encodings.

The package is heavily used as infrastructure rather than as an end-user application. Its subcommands map to the daily chores of Wasm toolchain work: validate a module, round-trip text and binary formats, strip or inspect sections, demangle symbols, generate test cases, shrink reducer inputs, or examine component interfaces.

### 使われ方

Typical command-line usage is pipeline-friendly. The README shows examples such as parsing WAT to Wasm, printing Wasm back to text, validating modules, demangling and stripping custom sections, and using `wasm-tools component wit` or `wasm-tools component new` for component-model workflows.

The CLI conventions matter for package users: subcommands read from stdin when no file is given, write to stdout unless `--output` is supplied, can emit text format with `--wat` where applicable, and share standard help, verbosity, and color behavior. That makes it useful in scripts, CI, fuzzing harnesses, and reproducible packaging pipelines.

### パッケージ好きにとっての重要性

wasm-tools is the package-manager-friendly face of a large slice of the Rust WebAssembly infrastructure stack. Installing one binary gives maintainers access to tools that otherwise live as separate crates or test utilities, making it the Wasm equivalent of a Swiss-army debug and transform tool for modules and components.

### タイムライン

- 2020-05-19: Public GitHub repository created.
- 2020s: Tool grows into a multi-crate CLI covering validation, parsing, printing, fuzzing, mutation, shrinking, metadata, and component-model tasks.
- 2026-06-12: GitHub releases show v1.252.0 as the latest release at research time.

### Related projects

- Related projects include Wasmtime, wasm-component-ld, wit-bindgen, cargo-component, the WebAssembly Component Model, and lower-level crates such as wasmparser, wat, wast, wasmprinter, wasm-smith, wasm-mutate, wasm-shrink, and wit-component.

### ソース

- <https://api.github.com/repos/bytecodealliance/wasm-tools>
- <https://bytecodealliance.org/projects>
- <https://component-model.bytecodealliance.org/>
- <https://docs.rs/wasm-tools/latest/wasm_tools/>
- <https://github.com/bytecodealliance/wasm-tools>


## セキュリティノート

wasm-tools に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


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

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wasm-tools
- **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

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

- Nix - wasm-tools: normalized package name match | nixpkgs package indexes: pkgs/by-name/wa/wasm-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - wasm-tools - 1.253.0-r0: normalized package name match | Alpine Linux edge package indexes: wasm-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI for low-level manipulation of WebAssembly modules | https://github.com/bytecodealliance/wasm-tools
- apk - wasm-tools-doc - 1.253.0-r0: normalized package name match | Alpine Linux edge package indexes: wasm-tools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI for low-level manipulation of WebAssembly modules (documentation) | https://github.com/bytecodealliance/wasm-tools
- pacman - wasm-tools - 1.254.0-1: normalized package name match | Arch Linux sync databases: wasm-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Low level tooling for WebAssembly in Rust | https://github.com/bytecodealliance/wasm-tools
- MacPorts - wasm-tools: normalized package name match | MacPorts ports tree: devel/wasm-tools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [wasm3](https://pkg.so/ja/brew/wasm3/) - Package name indicates the same formula family.
- [binaryen](https://pkg.so/ja/brew/binaryen/) - Shares pkgdb curated category or tags: cli, developer-tools, toolchain, webassembly.
- [wasm-pack](https://pkg.so/ja/brew/wasm-pack/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, webassembly.
- [wasm-component-ld](https://pkg.so/ja/brew/wasm-component-ld/) - Shares pkgdb curated category or tags: bytecode-alliance, cli, developer-tools, webassembly.
- [wasm-bindgen](https://pkg.so/ja/brew/wasm-bindgen/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, webassembly.
- [cargo-msrv](https://pkg.so/ja/brew/cargo-msrv/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, toolchain.
- [cargo-component](https://pkg.so/ja/brew/cargo-component/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, webassembly.
- [uv](https://pkg.so/ja/brew/uv/) - Shares pkgdb curated category or tags: cli, developer-tools, rust.
- [llvm](https://pkg.so/ja/brew/llvm/) - Shares pkgdb curated category or tags: cli, developer-tools, toolchain.
- [wasm-pack](https://pkg.so/ja/npm/wasm-pack/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, rust, wasm.

## Combined YAML source

View the package source record on GitHub. [combined/wasm-tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wasm-tools.yml)


## ソース

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