# Install ic-wasm with Homebrew

CLI tool for performing Wasm transformations specific to ICP canisters. Version 0.9.11 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ic-wasm
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:ic-wasm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ic-wasm>
- **Version:** 0.9.11
- **Source summary:** CLI tool for performing Wasm transformations specific to ICP canisters
- **Homepage:** <https://github.com/dfinity/ic-wasm>
- **Repository:** <https://github.com/dfinity/ic-wasm>
- **Upstream docs:** <https://github.com/dfinity/ic-wasm#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/dfinity/ic-wasm/archive/refs/tags/0.9.11.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ic-wasm (cli)
- ic-wasm (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.9.11
- Local data: ok
- Upstream repository: https://github.com/dfinity/ic-wasm
- Upstream latest detected: 0.9.11 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

ic-wasm is a DFINITY Rust library and CLI for transforming WebAssembly canisters that run on the Internet Computer.

### Project history

The README describes ic-wasm as a library for transforming Internet Computer canister Wasm modules and documents a CLI that edits metadata, prints module information, shrinks modules, invokes wasm-opt, limits resources, checks Candid endpoints, and instruments execution tracing.

### Adoption history

ic-wasm is adopted inside the ICP canister development ecosystem rather than as a general WebAssembly optimizer. Its installation paths span npm, precompiled installers, cargo-binstall, `cargo install`, and Homebrew, which makes it reachable from both Rust-native and JavaScript-oriented canister workflows.

### How it is used

Developers use ic-wasm after compiling a canister to inspect or transform the Wasm artifact before deployment. The README calls out metadata management, `wasm-opt` optimization levels, preservation of `icp` metadata during shrink and optimize operations, endpoint checks against Candid, and profiling instrumentation for stable-memory or heap-memory trace storage.

### Why package nerds care

ic-wasm is interesting because it packages blockchain-specific WebAssembly post-processing as a normal CLI. It bridges Rust crates, npm global installs, shell installers, Homebrew bottles, Binaryen's `wasm-opt`, Candid interface checks, and Internet Computer canister semantics in one small developer tool.

### Timeline

- 2022: The changelog records 0.2.0 with a decoupled library API using walrus.
- 0.3.0-0.7.0: The changelog groups releases that added profiling support, wasm-opt optimization, and JSON output for `info`.
- 0.8.x: The tag history shows an expanded release train before the 0.9 series.
- 0.9.11: Homebrew packages this stable version.

### Related projects

- The README names wasm-opt as the optimizer behind `optimize`, refers to Candid endpoint checks, and presents the tool as part of the Internet Computer canister toolchain maintained by DFINITY.

### Sources

- <https://formulae.brew.sh/formula/ic-wasm>
- <https://github.com/dfinity/ic-wasm>
- <https://github.com/dfinity/ic-wasm/blob/main/CHANGELOG.md>
- <https://github.com/dfinity/ic-wasm/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ic-wasm
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [icp-cli](https://www.automicvault.com/pkg/brew/icp-cli/) - Popular package that depends on this formula.
- [cargo-component](https://www.automicvault.com/pkg/brew/cargo-component/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wabt](https://www.automicvault.com/pkg/brew/wabt/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasm-bindgen](https://www.automicvault.com/pkg/brew/wasm-bindgen/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasm-component-ld](https://www.automicvault.com/pkg/brew/wasm-component-ld/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasm-pack](https://www.automicvault.com/pkg/brew/wasm-pack/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasm-tools](https://www.automicvault.com/pkg/brew/wasm-tools/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasmedge](https://www.automicvault.com/pkg/brew/wasmedge/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.
- [wasmer](https://www.automicvault.com/pkg/brew/wasmer/) - Shares av.db curated category or tags: cli, developer-tools, webassembly.

## Combined YAML source

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


## Sources

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