# Installer k3d avec Homebrew, chocolatey, MacPorts, Nix, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de k3d pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:k3d
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install k3d
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install k3d
```

  Preuve: MacPorts ports tree: sysutils/k3d/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#k3d
```

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

### Windows

- Chocolatey (92%):

```sh
choco install k3d
```

  Preuve: Chocolatey community package catalog: k3d from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','java7u13x86'

- Scoop (92%):

```sh
scoop install main/k3d
```

  Preuve: Scoop official bucket manifest trees: bucket/k3d.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id k3d.k3d -e
```

  Preuve: Windows Package Manager source index: k3d.k3d from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:k3d
- **Gestionnaire de paquets:** Homebrew
- **Version:** 5.9.0
- **Résumé source:** Little helper to run CNCF's k3s in Docker
- **Page d'accueil:** <https://k3d.io>
- **Dépôt:** <https://github.com/k3d-io/k3d>
- **Dernière mise à jour:** 2026-07-27T21:58:34+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- k3d (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 5.9.0
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://docs.k3s.io/advanced>
- <https://github.com/k3d-io/k3d>
- <https://github.com/k3d-io/k3d/discussions/1365>
- <https://github.com/k3d-io/k3d/releases/tag/v0.0.1>
- <https://github.com/k3d-io/k3d/releases/tag/v0.3.0>
- <https://github.com/orgs/k3d-io/packages/container/package/k3d>
- <https://k3d.io/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - k3d: normalized package name match | nixpkgs package indexes: pkgs/by-name/k3/k3d/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - k3d: normalized package name match | MacPorts ports tree: sysutils/k3d/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - k3d: normalized package name match | Chocolatey community package catalog: k3d from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','java7u13x86'
- Scoop - main/k3d: normalized package name match | Scoop official bucket manifest trees: bucket/k3d.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - k3d.k3d: normalized package name match | Windows Package Manager source index: k3d.k3d from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/k3d.yml](https://github.com/mxcl/pkgdb/blob/main/combined/k3d.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
