# Install crun with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Fast and lightweight fully featured OCI runtime and C library. Version 1.28 via Homebrew; verified 2026-07-04. Also installable with debian: sudo apt install crun.

## Install

```sh
sudo av install brew:crun
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install crun
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add crun
```

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

- Debian apt (92%):

```sh
sudo apt install crun
```

  Evidence: Debian stable package indexes: crun from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install crun
```

  Evidence: Fedora Rawhide package metadata: crun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#crun
```

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

- pacman (92%):

```sh
sudo pacman -S crun
```

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

- zypper (92%):

```sh
sudo zypper install crun
```

  Evidence: openSUSE Tumbleweed package metadata: crun from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:crun
- **Package manager:** Homebrew
- **Version:** 1.28
- **Source summary:** Fast and lightweight fully featured OCI runtime and C library
- **Homepage:** <https://github.com/containers/crun>
- **Repository:** <https://github.com/containers/crun>
- **Last updated:** 2026-07-04T23:18:55-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- crun (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.28
## Project history and usage

crun is a fast, low-memory OCI container runtime written in C. It is a system package rather than an application framework: users and higher-level tools call it to create and manage containers from OCI runtime bundles.

### Project history

The official README frames crun as an alternative implementation of the OCI runtime specification. Its rationale is that a low-level container runtime benefits from being written in C, and that crun can also be used as a library instead of only as an external process.

The public tag history begins with 0.4 in 2019, reaches 1.0 in 2021, and continues through frequent 1.x releases. Recent release notes show steady work on security hardening, cgroups, mount handling, CRIU integration, krun integration, idmapped mounts, and runtime compatibility.

### Adoption history

crun is distributed broadly through Linux and source package ecosystems, including Alpine, Debian, Fedora/DNF, Nix, pacman, Ubuntu, zypper, and Homebrew. Its broad packaging footprint reflects its role as a drop-in OCI runtime option for systems using container engines such as Podman.

### How it is used

crun is used where OCI runtime compatibility, startup latency, small memory footprint, and C library integration matter. The README compares it with runc, highlights faster startup and lower memory usage, and documents build dependencies across Fedora, RHEL, Ubuntu, Alpine, and openSUSE Tumbleweed.

Package users generally do not invoke crun for application logic; they install it so container engines and scripts can select it as the OCI runtime. Build-time options such as shared libraries and static Nix builds matter for distribution maintainers.

### Why package nerds care

crun is important to package history because it made the OCI runtime layer more diverse than the Go-based runc default. Its C implementation, library mode, reproducible static build path through Nix, and heavy distro packaging make it a low-level dependency that package maintainers care about for performance, hardening, and container stack composition.

### Timeline

- 2019: 0.4 public tag
- 2021: 1.0 release
- 2025: 1.25 and 1.26 releases add hardening and CRIU-related changes
- 2026: 1.28 release

### Related projects

- crun implements the Open Containers Initiative runtime specification and is commonly discussed alongside runc, Podman, CRIU, libkrun/krun, Nix, and Linux cgroup/systemd integration.

### Sources

- <https://github.com/containers/crun#readme>
- <https://github.com/containers/crun/blob/main/NEWS>
- <https://github.com/containers/crun/releases>
- <https://github.com/opencontainers/runtime-spec>
- <https://formulae.brew.sh/formula/crun>


## Security Notes

generalized runtime or code generation signal.

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

## Other Package-Manager Records

- Debian apt - crun - 1.21-1: normalized package name match | Debian stable package indexes: crun from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight OCI runtime for running containers | https://github.com/containers/crun
- Nix - crun: normalized package name match | nixpkgs package indexes: pkgs/by-name/cr/crun/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - crun - 1.14.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: crun from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight OCI runtime for running containers | https://github.com/containers/crun
- apk - crun - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: crun from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and lightweight fully featured OCI runtime and C library for running containers | https://github.com/containers/crun
- apk - crun-doc - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: crun-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and lightweight fully featured OCI runtime and C library for running containers (documentation) | https://github.com/containers/crun
- apk - crun-static - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: crun-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and lightweight fully featured OCI runtime and C library for running containers (static library) | https://github.com/containers/crun
- dnf - crun - 1.28-2.fc45: normalized package name match | Fedora Rawhide package metadata: crun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | OCI runtime written in C | https://github.com/containers/crun
- dnf - crun-krun - 1.28-2.fc45: normalized package name match | Fedora Rawhide package metadata: crun-krun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | crun with libkrun support | https://github.com/containers/crun
- dnf - crun-wasm - 1.28-2.fc45: normalized package name match | Fedora Rawhide package metadata: crun-wasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | crun with wasm support | https://github.com/containers/crun
- pacman - crun - 1.28-1: normalized package name match | Arch Linux sync databases: crun from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast and lightweight fully featured OCI runtime and C library for running containers | https://github.com/containers/crun
- zypper - crun - 1.28-2.2: normalized package name match | openSUSE Tumbleweed package metadata: crun from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | OCI runtime written in C | https://github.com/containers/crun
- zypper - crun-krun - 1.28-2.2: normalized package name match | openSUSE Tumbleweed package metadata: crun-krun from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | crun with libkrun support | https://github.com/containers/crun


## Combined YAML source

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


## Sources

- 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
