# driftctl を Homebrew, MacPorts, Nix でインストール

driftctl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install driftctl
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install driftctl
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:driftctl
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/driftctl>
- **バージョン:** 0.40.0
- **ソース概要:** Detect, track and alert on infrastructure drift
- **ホームページ:** <https://github.com/snyk/driftctl>
- **リポジトリ:** <https://github.com/snyk/driftctl>
- **上流ドキュメント:** <https://docs.driftctl.com/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/snyk/driftctl/archive/refs/tags/v0.40.0.tar.gz>
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- driftctl (cli)
- driftctl (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 0.40.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/snyk/driftctl
- 検出された最新: v0.40.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Cloud CLI packages](https://www.automicvault.com/ja/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [aztfexport](https://www.automicvault.com/ja/pkg/brew/aztfexport/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure, iac, infrastructure-as-code.
- [aws-cdk](https://www.automicvault.com/ja/pkg/brew/aws-cdk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [c7n](https://www.automicvault.com/ja/pkg/brew/c7n/) - Shares av.db curated category or tags: aws, azure, cli, cloud-infrastructure, gcp.
- [org-formation](https://www.automicvault.com/ja/pkg/brew/org-formation/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [pug](https://www.automicvault.com/ja/pkg/brew/pug/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [rain](https://www.automicvault.com/ja/pkg/brew/rain/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [sceptre](https://www.automicvault.com/ja/pkg/brew/sceptre/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [terracognita](https://www.automicvault.com/ja/pkg/brew/terracognita/) - Shares av.db curated category or tags: aws, azure, cli, cloud-infrastructure, infrastructure-as-code.

## Combined YAML source

View the package source record on GitHub. [combined/driftctl.yml](https://github.com/automic-vault/db/blob/main/combined/driftctl.yml)


## ソース

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