# Installer cdebug avec Homebrew, MacPorts

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

## installation

```sh
sudo av install brew:cdebug
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cdebug
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cdebug
```

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

## Faits du paquet

- **Clé du paquet:** brew:cdebug
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/cdebug>
- **Version:** 0.0.19
- **Résumé source:** Swiss army knife of container debugging
- **Page d'accueil:** <https://iximiuz.com/en/posts/docker-debug-slim-containers/>
- **Dépôt:** <https://github.com/iximiuz/cdebug>
- **Docs amont:** <https://iximiuz.com/en/posts/docker-debug-slim-containers/>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/iximiuz/cdebug/archive/refs/tags/v0.0.19.tar.gz>
- **Dernière mise à jour:** 2026-07-27T19:20:57+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- cdebug (cli)
- cdebug (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.0.19
- gestionnaire mis à jour: 2026-07-27
- données locales: OK
- dépôt amont: https://github.com/iximiuz/cdebug
- dernière version détectée: v0.0.19 (à jour)
## Historique du projet et usages

cdebug is a Go-based command-line tool for debugging containers and Kubernetes pods, especially slim, scratch, and distroless images that do not include a shell or troubleshooting tools.

### Historique du projet

The upstream README calls cdebug a 'swiss army knife of container debugging' and documents commands for exec-style debugging, local port forwarding, and exporting or inspecting container filesystems. Its exec workflow is explicitly based on ideas from the iximiuz article about debugging slim Docker containers.

The GitHub releases begin with v0.0.1 on 2022-11-06 and continue through v0.0.19 on 2026-01-18, showing an active small-tool release history around container debugging workflows.

### Historique d'adoption

cdebug entered package-manager culture as a modern container-debugging utility rather than a classic Unix tool. The Homebrew input records Homebrew and MacPorts packaging, and the upstream README documents Homebrew installation for macOS and Linux.

### Modes d'utilisation

Users run cdebug exec against Docker, containerd, nerdctl, or Kubernetes targets to start a temporary debugging sidecar whose tools are available in the target container's filesystem view. The README also documents cdebug port-forward for exposing unpublished or localhost-only container ports.

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

cdebug is notable because it packages a container namespace trick into a single statically linked binary. It sits in the practical space between docker exec, kubectl debug, nsenter-style debugging, and ad hoc sidecar containers, which makes it attractive to operators dealing with minimal images.

### Chronologie

- 2022-11-06: v0.0.1 and v0.0.2 published.
- 2022-12: v0.0.4 through v0.0.6 published.
- 2023: Multiple releases through v0.0.14.
- 2024: v0.0.15 through v0.0.18 published.
- 2026-01-18: v0.0.19 published.

### Related projects

- The upstream README frames cdebug exec as a cross between docker exec and kubectl debug, and points to Nixery as a way to build custom debugging images.

### Sources

- <https://api.github.com/repos/iximiuz/cdebug>
- <https://github.com/iximiuz/cdebug>
- <https://iximiuz.com/en/posts/docker-debug-slim-containers/>
- <https://github.com/iximiuz/cdebug#readme>
- <https://formulae.brew.sh/api/formula/cdebug.json>
- <https://github.com/iximiuz/cdebug/releases>
- <https://iximiuz.com/en/posts/docker-debug-slim-containers>


## Notes de sécurité

infrastructure mutation or orchestration signal.

- **Risque Geiger:** orange / moyen
- infrastructure mutation or orchestration signal

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- MacPorts - cdebug: normalized package name match | MacPorts ports tree: sysutils/cdebug/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Cloud CLI packages](https://pkg.so/fr/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [docker-debug](https://pkg.so/fr/brew/docker-debug/) - Shares pkgdb curated category or tags: cli, containers, debugging, developer-tools, docker.
- [gebug](https://pkg.so/fr/brew/gebug/) - Shares pkgdb curated category or tags: cli, containers, debugging, developer-tools, docker.
- [docker](https://pkg.so/fr/brew/docker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-compose](https://pkg.so/fr/brew/docker-compose/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-buildx](https://pkg.so/fr/brew/docker-buildx/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [lazydocker](https://pkg.so/fr/brew/lazydocker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-credential-helper-ecr](https://pkg.so/fr/brew/docker-credential-helper-ecr/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-credential-helper](https://pkg.so/fr/brew/docker-credential-helper/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [cri-tools](https://pkg.so/fr/brew/cri-tools/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.

## Combined YAML source

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


## Sources

- 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
