# darker を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:darker
```

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

### macOS

- Homebrew (100%):

```sh
brew install darker
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:darker
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/darker>
- **バージョン:** 3.0.0
- **ソース概要:** Apply Black formatting only in regions changed since last commit
- **ホームページ:** <https://github.com/akaihola/darker>
- **リポジトリ:** <https://github.com/akaihola/darker>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/df/78/ad6af1661c2eca0ec69b7ff7c99d95dcae29c5e0071c7ebc98e6670f4663/darker-3.0.0.tar.gz>
- **最終更新:** 2026-07-13T14:12:41Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- python@3.14

## ビルド依存関係

- rust

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.0.0
- マネージャ更新日: 2026-07-13
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/akaihola/darker
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Darker is a Python formatting tool that applies Black-style formatting only to regions changed between Git revisions or in a working tree.

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

The README explains Darker as a response to a common adoption problem for Black: teams often want consistent formatting without one large repository-wide reformat. Darker compares revisions, formats with Black or another supported formatter, and writes back only the changed regions.

### 採用の歴史

Darker's official docs document installation from PyPI, conda-forge availability, editor integrations, pre-commit usage, and a GitHub Action. The changelog records early 2020 releases, a 1.0.0 release in July 2020, conda-forge availability in 1.2.2, support for plain directories in 1.4.0, and a 3.0.0 release that added Ruff formatter support while moving linting to Graylint.

### 使われ方

Users typically run darker on files or directories inside a Git repository, optionally selecting a revision range, showing a diff, or configuring behavior through pyproject.toml under tool.darker.

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

Darker matters to Python package maintainers because it is about incremental formatter adoption: it reduces formatting churn in old codebases while still letting projects standardize on tools such as Black, Ruff, isort, flynt, and pyupgrade.

### タイムライン

- 2020: 0.1.0 and 1.0.0 were released.
- 2020: 1.2.2 added conda-forge availability.
- 2022: 1.4.0 added support for plain directories outside Git repositories.
- 2025: 3.0.0 added Ruff formatter support and changed default formatter dependencies.

### Related projects

- The README points to Black, Ruff, isort, flynt, pyupgrade, pytest-darker, Graylint, pre-commit, and the Darker GitHub Action as adjacent tools and integrations.

### ソース

- <https://github.com/akaihola/darker>
- <https://github.com/akaihola/darker/blob/master/CHANGES.rst>
- <https://github.com/akaihola/darker/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: pyproject.toml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** darker
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [djhtml](https://pkg.so/ja/brew/djhtml/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter, python.
- [prettier](https://pkg.so/ja/brew/prettier/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [prettierd](https://pkg.so/ja/brew/prettierd/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [ktfmt](https://pkg.so/ja/brew/ktfmt/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [ormolu](https://pkg.so/ja/brew/ormolu/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [findent](https://pkg.so/ja/brew/findent/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [perltidy](https://pkg.so/ja/brew/perltidy/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, formatter.
- [reorder-python-imports](https://pkg.so/ja/brew/reorder-python-imports/) - Shares pkgdb curated category or tags: cli, code-formatting, developer-tools, python.
- [gersemi](https://pkg.so/ja/brew/gersemi/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, commit, developer, developer-tools.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
