# 使用 Homebrew, apk 安装 wasm-micro-runtime

查看 wasm-micro-runtime 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:wasm-micro-runtime
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wasm-micro-runtime
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wasm-micro-runtime
```

  证据: Alpine Linux edge package indexes: wasm-micro-runtime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:wasm-micro-runtime
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wasm-micro-runtime>
- **版本:** 2.4.5
- **来源摘要:** WebAssembly Micro Runtime (WAMR)
- **主页:** <https://github.com/bytecodealliance/wasm-micro-runtime>
- **仓库:** <https://github.com/bytecodealliance/wasm-micro-runtime>
- **许可证:** Apache-2.0 WITH LLVM-exception
- **源码归档:** <https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.4.5.tar.gz>
- **最后更新:** 2026-06-30T00:54:49Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- iwasm (cli)
- iwasm-2.4.5 (cli)
- iwasm (别名)
- iwasm-2.4.5 (别名)

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.4.5
- 管理器更新时间: 2026-06-30
- 本地数据: OK
- 上游仓库: https://github.com/bytecodealliance/wasm-micro-runtime
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

WebAssembly Micro Runtime, usually abbreviated WAMR, is a small-footprint standalone WebAssembly runtime for embedded, IoT, edge, trusted-execution, smart-contract, and cloud-native use cases. Its command-line runtime is commonly exposed as `iwasm`, while the project also provides embeddable runtime components.

### 项目历史

The public GitHub repository was created on May 2, 2019. Conference material from the project states that Intel open sourced WAMR in May 2019, targeting small footprint, high performance, and adaptability from embedded devices to cloud uses.

WAMR became one of the initial Bytecode Alliance projects when the Alliance was announced on November 12, 2019 by Mozilla, Fastly, Intel, and Red Hat. The formation announcement listed WAMR alongside Wasmtime, Lucet, and Cranelift as founding open source contributions, describing it as an interpreter-based WebAssembly runtime for embedded devices.

The project later established open governance and a Technical Steering Committee. Its repository and project site present WAMR as a Bytecode Alliance project, with maintainers from multiple organizations and a license aligned with LLVM's Apache-2.0-with-exception model.

### 采用历史

WAMR's adoption is tied to places where the default browser or server Wasm runtime story is too heavy. The project site highlights an interpreter around 85 KB and an ahead-of-time runtime around 50 KB, plus AOT/JIT support, TEE support, source debugging, and libraries such as WASI libc, sockets, pthreads, and wasi-nn.

The Bytecode Alliance project listing describes WAMR as spanning embedded, IoT, edge, TEE, smart contract, cloud native, and more. The repository documents supported platforms including Linux, macOS, Android, Windows, SGX, Zephyr, AliOS-Things, VxWorks, NuttX, RT-Thread, and ESP-IDF/FreeRTOS, which is the adoption story in miniature: portability below the usual desktop/server layer.

### 使用方式

Developers use WAMR either by embedding the runtime library in a product or by running Wasm modules through `iwasm`. In embedded contexts, teams build a configured runtime for their target OS or RTOS, select interpreter, fast-interpreter, AOT, JIT, WASI, libc, networking, or threading features, and then load modules under WAMR's sandbox.

In package-manager terms, WAMR is the installable runtime you reach for when testing tiny Wasm deployments locally, preparing AOT artifacts, or validating whether an embedded/edge integration can run a module before integrating the C API into firmware or a host application.

### 为什么软件包爱好者会关心

WAMR is significant because it keeps WebAssembly from being only a browser, Node, or cloud-runtime story. It packages the Wasm VM idea into a footprint and platform matrix that make sense for microcontrollers, RTOS environments, TEEs, and product firmware.

### 时间线

- 2019-05-02: Public GitHub repository created.
- 2019-05: Intel open sources WAMR.
- 2019-11-12: Bytecode Alliance launches with WAMR as one of the founding project contributions.
- 2021: Project material notes establishment of open governance and a TSC.
- 2024: Project blog highlights continued WAMR development and industrial use.
- 2026-06-29: GitHub releases show WAMR-2.4.5 as the latest release at research time.

### Related projects

- WAMR sits beside Wasmtime in the Bytecode Alliance runtime family: Wasmtime is the general-purpose runtime, while WAMR is tuned for small footprint and embeddability. It also intersects with WASI, wasi-libc, LLVM, and embedded operating systems such as Zephyr and FreeRTOS.

### 来源

- <https://api.github.com/repos/bytecodealliance/wasm-micro-runtime>
- <https://bytecodealliance.github.io/wamr.dev/>
- <https://bytecodealliance.org/press/formation>
- <https://bytecodealliance.org/projects>
- <https://github.com/bytecodealliance/wasm-micro-runtime>
- <https://static.sched.com/hosted_files/ossalsjp21/f9/The%20cool%20features%20of%20WebAssembly%20Micro%20Runtime%20for%20IoT%20and%20embedded.pdf>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

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

## 其他软件包管理器记录

- apk - iwasm - 2.4.4-r0: normalized package name match | Alpine Linux edge package indexes: iwasm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | WebAssembly Micro Runtime (WAMR) - CLI | https://github.com/bytecodealliance/wasm-micro-runtime
- apk - iwasm-gc - 2.4.4-r0: normalized package name match | Alpine Linux edge package indexes: iwasm-gc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | WebAssembly Micro Runtime (WAMR) - CLI (with GC) | https://github.com/bytecodealliance/wasm-micro-runtime
- apk - iwasm-jit - 2.4.4-r0: normalized package name match | Alpine Linux edge package indexes: iwasm-jit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | WebAssembly Micro Runtime (WAMR) - CLI (with FastJIT) | https://github.com/bytecodealliance/wasm-micro-runtime
- apk - wamrc - 2.4.4-r0: normalized package name match | Alpine Linux edge package indexes: wamrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | WebAssembly Micro Runtime (WAMR) - AOT compiler | https://github.com/bytecodealliance/wasm-micro-runtime
- apk - wasm-micro-runtime - 2.4.4-r0: normalized package name match | Alpine Linux edge package indexes: wasm-micro-runtime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [micropython](https://pkg.so/zh-hans/brew/micropython/) - Shares pkgdb curated category or tags: cli, embedded, language-runtime, runtime.
- [v8](https://pkg.so/zh-hans/brew/v8/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime, webassembly.
- [spidermonkey](https://pkg.so/zh-hans/brew/spidermonkey/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime, webassembly.
- [wazero](https://pkg.so/zh-hans/brew/wazero/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime, webassembly.
- [wasm3](https://pkg.so/zh-hans/brew/wasm3/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime, webassembly.
- [picoruby](https://pkg.so/zh-hans/brew/picoruby/) - Shares pkgdb curated category or tags: cli, embedded, language-runtime, runtime.
- [jerryscript](https://pkg.so/zh-hans/brew/jerryscript/) - Shares pkgdb curated category or tags: cli, embedded, iot, language-runtime.
- [node](https://pkg.so/zh-hans/brew/node/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime.
- [wasmoon](https://pkg.so/zh-hans/npm/wasmoon/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, runtime, wasm.
- [hy](https://pkg.so/zh-hans/brew/hy/) - Local package facts share a topical domain. Shared terms: cli, embedded, language, language-runtime, runtime.
- [luajit-openresty](https://pkg.so/zh-hans/brew/luajit-openresty/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, runtime.

## Combined YAML source

View the package source record on GitHub. [combined/wasm-micro-runtime.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wasm-micro-runtime.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
