# 使用 Homebrew, apk, Nix, apt, zypper 安装 kraftkit

查看 kraftkit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:kraftkit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kraftkit
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add kraftkit
```

  证据: Alpine Linux edge package indexes: kraftkit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#kraft
```

  证据: nixpkgs package indexes: pkgs/by-name/kr/kraft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install kraft
```

  证据: Ubuntu 24.04 LTS package indexes: kraft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install kraft
```

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

## 软件包事实

- **软件包键:** brew:kraftkit
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kraftkit>
- **版本:** 0.12.14
- **来源摘要:** Build and use highly customized and ultra-lightweight unikernel VMs
- **主页:** <https://unikraft.org/docs/cli>
- **仓库:** <https://github.com/unikraft/kraftkit>
- **上游文档:** <https://unikraft.org/docs/cli>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/unikraft/kraftkit/archive/refs/tags/v0.12.14.tar.gz>
- **最后更新:** 2026-07-27T21:58:41+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- kraft (cli)
- kraft (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.12.14
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/unikraft/kraftkit
- 检测到的最新版本: v0.12.14 (当前)
## 项目历史与用法

KraftKit is the `kraft` command-line tool and Go framework for building, packaging, running, and deploying Unikraft unikernel virtual machines. It packages the unikernel workflow into a developer-facing CLI modeled after familiar package managers and build tools.

### 项目历史

The unikraft/kraftkit repository was created on March 16, 2022, as the Go-based successor and companion tooling around the Unikraft unikernel project. The repository describes KraftKit as a suite of tools for custom, minimal, immutable lightweight unikernel virtual machines based on Unikraft.

Unikraft itself came from the systems-research and unikernel world, where the goal is to compile an application with only the OS components it needs. KraftKit made that workflow look more like a modern developer CLI: install a `kraft` binary, build a project, run it locally with backends such as QEMU, package artifacts, and deploy to Unikraft Cloud.

### 采用历史

KraftKit adoption tracks the effort to make unikernels approachable beyond research labs. The official docs call `kraft` Unikraft's companion command-line tool and say it was modeled after popular package managers and build tools to make building and managing applications as unikernels easier.

Homebrew packaging matters for KraftKit because local macOS installation is one of the low-friction paths into a workflow that otherwise spans compilers, virtualization, OCI-style packaging, manifests, cloud deployment, and runtime management.

### 使用方式

The package installs the `kraft` executable. The CLI can build, clean, configure, package, pull, push, run, start, stop, inspect, and deploy Unikraft unikernels; the official CLI reference also documents local runtime, networking, volume, compose, cloud, image, service, autoscale, certificate, and completion commands.

### 为什么软件包爱好者会关心

KraftKit is interesting to package nerds because it treats unikernel components like packageable artifacts. It combines a language/toolchain installer, build orchestrator, package manager, local VM runner, and cloud deployer into one CLI, which is exactly the kind of tool that benefits from clean Homebrew distribution.

### 时间线

- 2022-03-16: unikraft/kraftkit repository created on GitHub.
- 2022-10-27: v0.1.0 tag commit recorded in the KraftKit repository.
- 2024-04: Unikraft Cloud was announced as a cloud platform built on Unikraft technology.
- 2026-03-08: GitHub release v0.12.5-172-g4d204f63 was published in the observed release stream.
- 2026-06-26: GitHub release v0.12.13-22-g189cd286 was published in the observed release stream.

### Related projects

- KraftKit is related to Unikraft, KraftCloud or Unikraft Cloud, QEMU, Xen, Firecracker, OCI registries, BuildKit, Dockerfile and Compose workflows, and unikernel systems research.

### 来源

- <https://github.com/unikraft/kraftkit>
- <https://github.com/unikraft/kraftkit/commit/f22d740e3e1e49dea89bdb0f129ef592cfa15e81>
- <https://github.com/unikraft/kraftkit/releases/tag/v0.12.13-22-g189cd286>
- <https://github.com/unikraft/kraftkit/releases/tag/v0.12.5-172-g4d204f63>
- <https://unikraft.com/blog>
- <https://unikraft.org/docs/cli>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- apk - kraftkit - 0.12.3-r7: normalized package name match | Alpine Linux edge package indexes: kraftkit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI tool to build and use customized unikernel VMs | https://unikraft.org/
- apk - kraftkit-bash-completion - 0.12.3-r7: normalized package name match | Alpine Linux edge package indexes: kraftkit-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for kraftkit | https://unikraft.org/
- apk - kraftkit-doc - 0.12.3-r7: normalized package name match | Alpine Linux edge package indexes: kraftkit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI tool to build and use customized unikernel VMs (documentation) | https://unikraft.org/
- apk - kraftkit-fish-completion - 0.12.3-r7: normalized package name match | Alpine Linux edge package indexes: kraftkit-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for kraftkit | https://unikraft.org/
- apk - kraftkit-zsh-completion - 0.12.3-r7: normalized package name match | Alpine Linux edge package indexes: kraftkit-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for kraftkit | https://unikraft.org/
- apk - runu - 0.12.3-r7: normalized package name match | Alpine Linux edge package indexes: runu from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OCI runtime for running Unikraft unikernels | https://unikraft.org/
- Nix - kraft: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/kr/kraft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kraft - 1.1-1ubuntu4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: kraft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small business-management application | https://volle-kraft-voraus.de/
- zypper - kraft - 2.0.0-1.6: installed executable or alias match | openSUSE Tumbleweed package metadata: kraft from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | KDE software to manage office documents in the office | https://volle-kraft-voraus.de


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [libvirt](https://pkg.so/zh-hans/brew/libvirt/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, virtualization.
- [pvetui](https://pkg.so/zh-hans/brew/pvetui/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, virtualization.
- [macpine](https://pkg.so/zh-hans/brew/macpine/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, virtualization.
- [incus](https://pkg.so/zh-hans/brew/incus/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, virtual-machines.
- [virtctl](https://pkg.so/zh-hans/brew/virtctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, virtual-machines, virtualization.
- [lxc](https://pkg.so/zh-hans/brew/lxc/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, virtual-machines.
- [awscli](https://pkg.so/zh-hans/brew/awscli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [container](https://pkg.so/zh-hans/brew/container/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, lightweight.

## Combined YAML source

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


## 来源

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