# gitlint を Homebrew, apk, apt, dnf, MacPorts, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:gitlint
```

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

### macOS

- Homebrew (100%):

```sh
brew install gitlint
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gitlint
```

  証拠: MacPorts ports tree: devel/gitlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gitlint
```

  証拠: Alpine Linux edge package indexes: gitlint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gitlint
```

  証拠: Debian stable package indexes: gitlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install gitlint
```

  証拠: Fedora Rawhide package metadata: gitlint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gitlint
```

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

- zypper (92%):

```sh
sudo zypper install python313-gitlint
```

  証拠: openSUSE Tumbleweed package metadata: python313-gitlint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:gitlint
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gitlint>
- **バージョン:** 0.19.1
- **ソース概要:** Linting for your git commit messages
- **ホームページ:** <https://jorisroovers.com/gitlint/>
- **上流ドキュメント:** <https://jorisroovers.com/gitlint/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/73/51/b59270264aabcab5b933f3eb9bfb022464ca9205b04feef1bdc1635fd9b4/gitlint_core-0.19.1.tar.gz>
- **最終更新:** 2026-07-13T10:51:56Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- python@3.14

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.19.1
- マネージャ更新日: 2026-07-13
- ローカルデータ: OK
- 上流リポジトリ: https://jorisroovers.com/gitlint/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Gitlint is a Python command-line linter for Git commit messages. It gives teams a way to enforce subject length, body formatting, trailers, conventional-commit-like rules, and custom policies before commits or merge requests land.

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

The GitHub repository was created in September 2015 and the PyPI package history begins with the 0.1.0 release. The project grew as a small but durable Git add-on with documentation, built-in rules, user-defined rules, hooks, and CI usage patterns.

The 0.14 and 0.15 releases marked the end of Python 2.7 and Python 3.5 support, while the 0.17 release split the package into gitlint and gitlint-core. The 0.19 release modernized build and test tooling, adopted Hatch and Ruff, and improved development builds.

### 採用の歴史

Gitlint's adoption sits in the commit-quality niche rather than the broader code-linting market. It is packaged on PyPI and in several system package managers, and it appeals to projects that treat commit history as a reviewable interface for releases, changelogs, and audit trails.

### 使われ方

Practitioners run gitlint against the commit message being written through a commit-msg hook, against selected commit ranges in CI, or through pre-commit. Configuration usually lives in .gitlint, with built-in rules tuned by project policy and custom Python rules added for organization-specific checks.

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

Gitlint is notable as a classic Python CLI packaged across PyPI, Homebrew, Linux distributions, and MacPorts. For package maintainers, its dependency-management changes and gitlint-core split show the pressure small developer tools face when they need to support both hook-time speed and system-package constraints.

### タイムライン

- 2015: The jorisroovers/gitlint repository was created.
- 2020: The 0.14 and 0.15 release line ended Python 2.7 and Python 3.5 support.
- 2021: The 0.17 release split gitlint and gitlint-core.
- 2023: The 0.19 release modernized project tooling and CI.

### Related projects

- pre-commit is a common integration point for running gitlint before commits or in CI.
- Conventional Commits is an adjacent convention supported through gitlint contrib rules and configuration.

### ソース

- <https://formulae.brew.sh/formula/gitlint>
- <https://github.com/jorisroovers/gitlint>
- <https://jorisroovers.github.io/gitlint/>
- <https://pypi.org/pypi/gitlint/json>
- <https://raw.githubusercontent.com/jorisroovers/gitlint/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/jorisroovers/gitlint/main/README.md>


## セキュリティノート

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: .gitlint
## ソースデータベース詳細

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

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

- Debian apt - gitlint - 0.19.1-6: normalized package name match | Debian stable package indexes: gitlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Git commit message linter | https://jorisroovers.com/gitlint/
- Nix - gitlint: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gitlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gitlint - 0.19.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: gitlint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Git commit message linter | https://jorisroovers.com/gitlint/
- apk - gitlint - 0.19.1-r3: normalized package name match | Alpine Linux edge package indexes: gitlint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Linting for your git commit messages | https://github.com/jorisroovers/gitlint
- apk - gitlint-pyc - 0.19.1-r3: normalized package name match | Alpine Linux edge package indexes: gitlint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for gitlint | https://github.com/jorisroovers/gitlint
- dnf - gitlint - 0.19.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: gitlint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Git commit message linting tool | https://jorisroovers.github.io/gitlint
- zypper - python313-gitlint - 0.18.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: python313-gitlint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Git commit message linter checking | https://github.com/jorisroovers/gitlint
- MacPorts - gitlint: normalized package name match | MacPorts ports tree: devel/gitlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [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.
- [ansible-lint](https://pkg.so/ja/brew/ansible-lint/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, linter.
- [staticcheck](https://pkg.so/ja/brew/staticcheck/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, linter.
- [commitlint](https://pkg.so/ja/brew/commitlint/) - Shares pkgdb curated category or tags: cli, commit-messages, developer-tools, git.
- [forgejo](https://pkg.so/ja/brew/forgejo/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, git.
- [gitmoji](https://pkg.so/ja/brew/gitmoji/) - Shares pkgdb curated category or tags: cli, commit-messages, developer-tools, git.
- [droast](https://pkg.so/ja/brew/droast/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, linter.
- [gitlab-ci-linter](https://pkg.so/ja/brew/gitlab-ci-linter/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, linter.
- [gh](https://pkg.so/ja/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [all-repos](https://pkg.so/ja/brew/all-repos/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, git, python.

## Combined YAML source

View the package source record on GitHub. [combined/gitlint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gitlint.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
- external package-manager database matches
- cross-ecosystem install command graph
