# Install wasmtime with Homebrew, apk, MacPorts, Nix, pacman, scoop, winget

Standalone JIT-style runtime for WebAssembly, using Cranelift. Version 46.0.1 via Homebrew; verified 2026-06-24.

## Install

```sh
sudo av install brew:wasmtime
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wasmtime
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wasmtime
```

  Evidence: MacPorts ports tree: devel/wasmtime/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libwasmtime
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#wasmtime
```

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

- pacman (92%):

```sh
sudo pacman -S wasmtime
```

  Evidence: Arch Linux sync databases: wasmtime from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/wasmtime
```

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

- winget (92%):

```sh
winget install --id BytecodeAlliance.Wasmtime -e
```

  Evidence: Windows Package Manager source index: BytecodeAlliance.Wasmtime from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:wasmtime
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wasmtime>
- **Version:** 46.0.1
- **Source summary:** Standalone JIT-style runtime for WebAssembly, using Cranelift
- **Homepage:** <https://wasmtime.dev/>
- **Repository:** <https://github.com/bytecodealliance/wasmtime>
- **Upstream docs:** <https://component-model.bytecodealliance.org/running-components/wasmtime.html>
- **License:** Apache-2.0 WITH LLVM-exception
- **Source archive:** <https://github.com/bytecodealliance/wasmtime.git>
- **Last updated:** 2026-06-24T22:53:31Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- wasmtime (cli)
- wasmtime (alias)

## Build dependencies

- cmake
- 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: 46.0.1
- Package-manager updated: 2026-06-24
- Local data: ok
- Upstream repository: https://github.com/bytecodealliance/wasmtime
- info: No cached GitHub release or tag data was available.
## Project history and usage

Wasmtime is the Bytecode Alliance's standalone runtime for WebAssembly, WASI, and the WebAssembly Component Model. It is built around the Cranelift code generator and is used both as a command-line tool and as an embeddable engine for applications that need a capability-oriented Wasm sandbox.

### Project history

Wasmtime became one of the founding project contributions to the Bytecode Alliance when Mozilla, Fastly, Intel, and Red Hat announced the alliance on November 12, 2019. The formation announcement described Wasmtime as a small and efficient runtime for WebAssembly and WASI, alongside Lucet, WAMR, and Cranelift.

The Mozilla announcement for the Bytecode Alliance framed Wasmtime as a configurable and scalable standalone runtime that could work as a CLI tool or be embedded into other systems, from IoT devices to cloud data centers. That early positioning explains why Wasmtime has remained both a developer executable and a library API.

Wasmtime reached 1.0 on September 20, 2022. The Bytecode Alliance announcement said the runtime was ready for production use and noted that alliance members had already been running Wasmtime in production environments during the preceding year.

After 1.0, Wasmtime continued to track standards work around WASI and the Component Model. Bytecode Alliance documentation identifies Wasmtime as the reference implementation of the Component Model, with support for command components, HTTP components through wasmtime serve, and later WASI 0.3 runtime support in Wasmtime 43 and newer.

### Adoption history

Wasmtime's adoption is unusually standards-centered. Because the same organization stewards Cranelift, WASI tooling, wasm-tools, and Component Model documentation, Wasmtime often serves as the runtime people try first when experimenting with new WebAssembly proposals outside the browser.

It is also embedded into higher-level platforms. wasmCloud documentation describes Wasmtime as a Bytecode Alliance runtime that can be used standalone or as part of a larger stack, supporting WebAssembly, WASI, and the Component Model while providing a defense-in-depth runtime for wasmCloud workloads.

The runtime's security posture is part of its adoption story. Bytecode Alliance writing before the 1.0 release emphasized correctness, fuzzing, formal verification work, multi-stakeholder investment, and security processes as reasons the project considered itself ready for production.

### How it is used

CLI users run .wasm modules or components with wasmtime run, expose only selected host capabilities, and can serve WASI HTTP components with wasmtime serve. Library users embed Wasmtime through Rust, C, Python, .NET, Go, and other bindings to execute untrusted or portable code inside a host application.

Wasmtime is a default choice when the goal is standards conformance, WASI experimentation, component-model execution, or a capability-secure plugin system. It is less about being a package registry or product platform than about being the runtime substrate other tools build on.

### Why package nerds care

Wasmtime is significant because it made WASI and the Component Model concrete for package authors. It gave package managers, plugin systems, and platform teams a runnable target for artifacts that are not tied to a browser, CPU architecture, or one source language.

Its presence in the Bytecode Alliance also means its release notes and APIs often reveal where the Wasm ecosystem is going next: new proposals, new WASI versions, host bindings, component execution, and cross-language interface tooling.

### Timeline

- 2019-11-12: Bytecode Alliance launched with Wasmtime, Lucet, WAMR, and Cranelift among its founding project contributions.
- 2022-09-20: Wasmtime 1.0 was released and declared production ready by the Bytecode Alliance.
- 2023: Bytecode Alliance tooling compatibility documentation listed Wasmtime 7.0.0 with component-model support.
- 2024-01-25: WASI 0.2.0 became a stable Component Model target, strengthening Wasmtime's role as a reference runtime.
- 2026: Bytecode Alliance documentation describes Wasmtime 43 and later as supporting WASI 0.3 runtime features.

### Related projects

- Cranelift is Wasmtime's optimizing code generator and a core Bytecode Alliance project.
- Lucet, Fastly's earlier AOT WebAssembly runtime, was part of the original Bytecode Alliance project set and was refactored toward Wasmtime at its core.
- WAMR, WasmEdge, Wasmer, wazero, Spin, runwasi, and wasmCloud are common comparison or integration points.
- WASI, WIT, wasm-tools, and the WebAssembly Component Model are standards and tools tightly connected to Wasmtime's ecosystem role.

### Sources

- <https://bytecodealliance.org/articles/component-model-tooling-compatibility>
- <https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime>
- <https://bytecodealliance.org/articles/wasmtime-1-0-fast-safe-and-production-ready>
- <https://bytecodealliance.org/press/formation>
- <https://component-model.bytecodealliance.org/>
- <https://component-model.bytecodealliance.org/running-components/wasmtime.html>
- <https://docs.wasmtime.dev/>
- <https://github.com/bytecodealliance/wasmtime>
- <https://hacks.mozilla.org/2019/11/announcing-the-bytecode-alliance/>
- <https://wasmcloud.com/docs/v1/ecosystem/wasmtime/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

- Nix - wasmtime: normalized package name match | nixpkgs package indexes: pkgs/by-name/wa/wasmtime/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libwasmtime - 44.0.1-r0: normalized package name match | Alpine Linux edge package indexes: libwasmtime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and secure runtime for WebAssembly | https://wasmtime.dev/
- apk - libwasmtime-static - 44.0.1-r0: normalized package name match | Alpine Linux edge package indexes: libwasmtime-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and secure runtime for WebAssembly (static library) | https://wasmtime.dev/
- apk - wasmtime - 44.0.1-r0: normalized package name match | Alpine Linux edge package indexes: wasmtime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and secure runtime for WebAssembly | https://wasmtime.dev/
- apk - wasmtime-dev - 44.0.1-r0: normalized package name match | Alpine Linux edge package indexes: wasmtime-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and secure runtime for WebAssembly (development files) | https://wasmtime.dev/
- pacman - wasmtime - 45.0.1-1: normalized package name match | Arch Linux sync databases: wasmtime from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Standalone JIT-style runtime for WebAssembly, using Cranelift | https://github.com/bytecodealliance/wasmtime
- MacPorts - wasmtime: normalized package name match | MacPorts ports tree: devel/wasmtime/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/wasmtime: normalized package name match | Scoop official bucket manifest trees: bucket/wasmtime.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - BytecodeAlliance.Wasmtime: normalized package name match | Windows Package Manager source index: BytecodeAlliance.Wasmtime from https://cdn.winget.microsoft.com/cache/source.msix
- winget - BytecodeAlliance.Wasmtime.Portable: normalized package name match | Windows Package Manager source index: BytecodeAlliance.Wasmtime.Portable from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [wasmedge](https://www.automicvault.com/pkg/brew/wasmedge/) - Shares av.db curated category or tags: cli, developer-tools, runtime, wasi, webassembly.
- [wasmer](https://www.automicvault.com/pkg/brew/wasmer/) - Shares av.db curated category or tags: cli, developer-tools, runtime, wasi, webassembly.
- [cargo-component](https://www.automicvault.com/pkg/brew/cargo-component/) - Shares av.db curated category or tags: cli, component-model, developer-tools, webassembly.
- [wasm-component-ld](https://www.automicvault.com/pkg/brew/wasm-component-ld/) - Shares av.db curated category or tags: cli, component-model, developer-tools, webassembly.
- [docker-engine](https://www.automicvault.com/pkg/brew/docker-engine/) - Shares av.db curated category or tags: cli, developer-tools, runtime.
- [ic-wasm](https://www.automicvault.com/pkg/brew/ic-wasm/) - 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.

## Combined YAML source

View the package source record on GitHub. [combined/wasmtime.yml](https://github.com/automic-vault/db/blob/main/combined/wasmtime.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
- external package-manager database matches
- cross-ecosystem install command graph
