# Installer driftctl avec Homebrew, MacPorts, Nix

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

## installation

```sh
sudo av install brew:driftctl
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install driftctl
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install driftctl
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#driftctl
```

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

## Faits du paquet

- **Clé du paquet:** brew:driftctl
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.40.0
- **Résumé source:** Detect, track and alert on infrastructure drift
- **Page d'accueil:** <https://github.com/snyk/driftctl>
- **Dépôt:** <https://github.com/snyk/driftctl>
- **Dernière mise à jour:** 2026-07-28T14:10:42+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- driftctl (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

driftctl is a Snyk-maintained infrastructure-drift scanner for Terraform-era IaC workflows. It measures how much cloud infrastructure is covered by code and reports unmanaged or drifted resources.

### Historique du projet

The public repository was created in September 2020 and the official docs describe the tool as a CLI for measuring infrastructure-as-code coverage and tracking drift. Its README now states that the project is in maintenance mode, which makes the package historically important as a snapshot of the early standalone drift-detection tooling wave.

### Historique d'adoption

driftctl was adopted by infrastructure and DevSecOps users because it filled a gap between Terraform state and actual cloud-provider state. The official installation docs list direct binaries, Docker, Homebrew, and MacPorts, while the README shows badges for release downloads and Docker pulls, reflecting distribution beyond source builds.

### Modes d'utilisation

Typical use centers on driftctl scan, with Terraform state supplied locally, from S3, from multiple state files, or by glob. The docs also show AWS credential usage through environment variables, named profiles, and Docker mounts for ~/.aws and ~/.driftctl.

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

For package nerds, driftctl is a neat example of a Go-style single-binary cloud CLI that shipped through releases, Docker, Homebrew, MacPorts, and distro package indexes. It also marks a moment when IaC drift moved from an enterprise-platform feature into a small installable tool.

### Chronologie

- 2020: Public snyk/driftctl repository created.
- 2020: Early v0.1.x tags appear in the public repository.
- 2023: v0.40.0 release published and documented as the stable Homebrew version.
- 2026: README identifies the project as being in maintenance mode.

### Related projects

- Terraform is the primary IaC system referenced by driftctl docs and examples.
- Snyk is the maintaining organization for the repository and documentation.
- The official Docker image snyk/driftctl is documented as an alternate installation and execution path.

### Sources

- <https://github.com/snyk/driftctl>
- <https://raw.githubusercontent.com/snyk/driftctl/main/README.md>
- <https://docs.driftctl.com/0.40.0/>
- <https://raw.githubusercontent.com/snyk/driftctl-docs/main/versioned_docs/version-0.40.0/intro.mdx>
- <https://raw.githubusercontent.com/snyk/driftctl-docs/main/versioned_docs/version-0.40.0/installation.mdx>
- <https://raw.githubusercontent.com/snyk/driftctl-docs/main/versioned_docs/version-0.40.0/usage.mdx>
- <https://formulae.brew.sh/formula/driftctl>


## Notes de sécurité

infrastructure mutation or orchestration signal.

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

## Autres enregistrements de gestionnaires de paquets

- Nix - driftctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/dr/driftctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - driftctl: normalized package name match | MacPorts ports tree: sysutils/driftctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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