# 使用 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
- **版本:** 2.4.5
- **来源摘要:** WebAssembly Micro Runtime (WAMR)
- **主页:** <https://github.com/bytecodealliance/wasm-micro-runtime>
- **仓库:** <https://github.com/bytecodealliance/wasm-micro-runtime>
- **最后更新:** 2026-06-30T00:54:49Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.4.5
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
