# 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
- **Version:** 0.8.4
- **Source summary:** Container to WASM converter
- **Homepage:** <https://ktock.github.io/container2wasm-demo/>
- **Repository:** <https://github.com/container2wasm/container2wasm>
- **Last updated:** 2026-07-27T22:04:04+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.8.4
## 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. Nucleus package metadata is still published here so future coverage has a stable package URL.


## 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


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