Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, MacPorts, Nix, scoop, winget 安装 k3d

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install k3d

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install k3d

MacPorts ports tree · sysutils/k3d/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#k3d

nixpkgs package indexes · pkgs/by-name/k3/k3d/package.nix · 来源: api.github.com

概览

软件包摘要

Little helper to run CNCF's k3s in Docker

历史

项目历史与用法

k3d is a lightweight wrapper for running k3s Kubernetes clusters inside Docker containers, aimed at fast local development, testing, and CI workflows.

项目历史

The k3d project traces its lineage to `zeerorg/k3s-in-docker`, was reimplemented in Go by Thorsten Klein, and was later adopted into Rancher before moving under the community-led k3d-io organization.

Public releases began in April 2019, shortly after k3s itself made lightweight Kubernetes a popular target for local and edge experimentation. The v0.3.0 release was described as the first release in Rancher space, and the v1.0.0 release followed later that month.

The project later went through larger rewrites and major-version lines, including the v3 and v5 eras, while keeping the same basic promise: create and destroy containerized k3s clusters quickly from a single CLI.

采用历史

k3d became popular with developers who wanted a real Kubernetes API locally without a virtual machine-heavy setup. It sits alongside kind and minikube, but its k3s base gives it a particularly small and quick profile.

The official k3s documentation lists k3d as a way to run k3s in Docker, which helped legitimize the tool for local development even though k3d's own README notes it is community-driven and not an official Rancher or SUSE product.

使用方式

Users commonly run `k3d cluster create` to start a local k3s cluster in Docker, then use kubeconfig output with kubectl and other Kubernetes tools. It is often used in CI jobs, demos, local operator development, and quick reproduction environments.

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

k3d is package-manager candy: one small CLI that summons an entire Kubernetes cluster by orchestrating Docker containers. It shows why local-cluster tools became standard developer dependencies once Kubernetes moved from production-only infrastructure into everyday application development.

时间线

  • 2019: k3d v0.0.1 was released in April as a k3s-in-Docker helper.
  • 2019: v0.3.0 was described as the first release in Rancher space.
  • 2019: v1.0.0 was released later in April.
  • 2020: v3 releases reflected a major rewrite and expanded cluster-management surface.
  • 2022: v5.4.0 moved k3d images to GitHub Container Registry.

Related projects

  • k3d is built around k3s and Docker. It is commonly compared with kind and minikube, and it belongs to the broader family of local Kubernetes cluster tools.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
k3dcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本5.9.0
管理器更新时间2026-06-02
本地数据OK
上游当前
检测到的最新版本v5.9.0

https://github.com/k3d-io/k3d

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:k3d
版本5.9.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/k3d
主页https://k3d.io
仓库https://github.com/k3d-io/k3d
上游文档https://k3d.io/
许可证MIT
源码归档https://github.com/k3d-io/k3d/archive/refs/tags/v5.9.0.tar.gz
最后更新2026-06-02T15:53:19Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namek3d
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

k3d

nix profile install nixpkgs#k3d
  • normalized package name match
  • 匹配方式:K3d
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/k3/k3d/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

k3d

sudo port install k3d
  • normalized package name match
  • 匹配方式:K3d
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/k3d/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

k3d

choco install k3d
  • normalized package name match
  • 匹配方式:K3d
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: k3d from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','jetbrains-rider'
Scoop95%

main/k3d

scoop install main/k3d
  • normalized package name match
  • 匹配方式:K3d
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/k3d.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

k3d.k3d

winget install --id k3d.k3d -e
  • normalized package name match
  • 匹配方式:K3d
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: k3d.k3d from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment