# Install container2wasm with Homebrew, Nix

Container to WASM converter. Version 0.8.4 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#container2wasm.

## Install

```sh
sudo av install brew:container2wasm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install container2wasm
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#container2wasm
```

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

## Package facts

- **Package key:** brew:container2wasm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/container2wasm>
- **Version:** 0.8.4
- **Source summary:** Container to WASM converter
- **Homepage:** <https://ktock.github.io/container2wasm-demo/>
- **Repository:** <https://github.com/container2wasm/container2wasm>
- **Upstream docs:** <https://ktock.github.io/container2wasm-demo/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/container2wasm/container2wasm/archive/refs/tags/v0.8.4.tar.gz>
- **Last updated:** 2026-07-27T22:04:04+02:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- c2w (cli)
- c2w-net (cli)
- c2w (alias)
- c2w-net (alias)

## Build dependencies

- go

## 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-08-04
- Package-manager version: 0.8.4
- Package-manager updated: 2026-07-27
- Local data: ok
- Upstream repository: https://github.com/container2wasm/container2wasm
- Upstream latest detected: v0.8.4 (current)
## Project history and usage

container2wasm is an experimental converter that turns container images into WebAssembly artifacts runnable on WASI runtimes or in browsers. It occupies a niche where container packaging meets WebAssembly portability experiments.

### Project history

Official releases began with v0.1.0 in February 2023. The README describes support for emulation through Bochs, TinyEMU, and QEMU, along with WASI runtimes such as wasmtime, wamr, wasmer, wasmedge, and wazero.

### Adoption history

Official sources present demos and examples rather than an adopter list. The project is best understood as experimental tooling for developers exploring how existing container images can be repackaged for WebAssembly and browser-hosted environments.

### How it is used

The main `c2w` command converts a container image such as `ubuntu:22.04` into an output `.wasm` file. The companion `c2w-net` command supports networking experiments for converted WASM images, including browser and WebSocket delegation modes.

### Why package nerds care

The package is interesting because it treats a container image as an input artifact rather than as something only a container runtime can execute. For package-manager users, it exposes a command-line bridge between OCI-style image distribution, WASI runtimes, and browser demos.

### Timeline

- 2023: v0.1.0 release published.
- 2025: v0.8.0 release published.
- 2026: v0.8.4 release published.

### Related projects

- The README names WASI runtimes including wasmtime, wamr, wasmer, wasmedge, and wazero, and describes emulation through Bochs, TinyEMU, and QEMU.

### Sources

- <https://github.com/container2wasm/container2wasm#readme>
- <https://ktock.github.io/container2wasm-demo>
- <https://github.com/container2wasm/container2wasm/releases/tag/v0.1.0>
- <https://github.com/container2wasm/container2wasm/releases/tag/v0.8.4>


## Security Notes

No matching local secret-handling manifest was found for container2wasm. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** container2wasm
- **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 - container2wasm: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/container2wasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://pkg.so/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [wasmtime](https://pkg.so/brew/wasmtime/) - Shares pkgdb curated category or tags: cli, developer-tools, wasi, webassembly.
- [wabt](https://pkg.so/brew/wabt/) - Shares pkgdb curated category or tags: cli, developer-tools, wasm, webassembly.
- [wasmer](https://pkg.so/brew/wasmer/) - Shares pkgdb curated category or tags: cli, developer-tools, wasi, webassembly.
- [wasmedge](https://pkg.so/brew/wasmedge/) - Shares pkgdb curated category or tags: cli, developer-tools, wasi, webassembly.
- [cargo-component](https://pkg.so/brew/cargo-component/) - Shares pkgdb curated category or tags: cli, developer-tools, wasm, webassembly.
- [docker](https://pkg.so/brew/docker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools.
- [docker-compose](https://pkg.so/brew/docker-compose/) - Shares pkgdb curated category or tags: cli, containers, developer-tools.
- [docker-buildx](https://pkg.so/brew/docker-buildx/) - Shares pkgdb curated category or tags: cli, containers, developer-tools.

## Combined YAML source

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


## Sources

- pkg.so package database
- 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
