# Install aicommit with Homebrew, winget

AI-powered commit message generator. Version 0.6.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:aicommit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install aicommit
```

  Evidence: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id RussMckendrick.Aicommit -e
```

  Evidence: Windows Package Manager source index: RussMckendrick.Aicommit from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:aicommit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/aicommit>
- **Version:** 0.6.5
- **Source summary:** AI-powered commit message generator
- **Homepage:** <https://github.com/coder/aicommit>
- **Repository:** <https://github.com/coder/aicommit>
- **Upstream docs:** <https://github.com/coder/aicommit#readme>
- **License:** CC0-1.0
- **Source archive:** <https://github.com/coder/aicommit/archive/refs/tags/v0.6.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- aicommit (cli)
- aicommit (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.6.5
- Local data: ok
- Upstream repository: https://github.com/coder/aicommit
- Upstream latest detected: v0.6.5 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

aicommit is Coder's small Go CLI for generating Git commit messages from staged changes. It is intentionally narrower than a general coding assistant: it builds a prompt from repository history and diffs, streams a model-generated message, and then runs git commit unless used in dry-run or ref-targeting modes.

### Project history

The GitHub repository was created in August 2024, and releases followed rapidly through the autumn of that year. The README frames the project around an opinionated problem: many AI commit-message tools exist, but this one tries to follow a repository's existing commit style.

The implementation uses OpenAI-compatible chat completions, defaults to an OpenAI model, and supports overriding the base URL for compatible providers. The source includes a persistent key path under the user's config directory and a COMMITS.md style-guide convention.

### Adoption history

Official installation paths are Homebrew, go install, and GitHub release binaries. The supplied package facts also list a winget package, giving it modest cross-platform package-manager presence despite its small scope.

The package belongs to the 2024 wave of single-purpose AI developer CLIs: tools that do one Git-adjacent task with LLM assistance rather than trying to become a full IDE assistant.

### How it is used

Users stage changes, provide OPENAI_API_KEY or save a key with --save-key, and run aicommit. Flags support amending the previous commit, dry-running the generated git command, targeting a specific ref, adding extra context, changing the model, and using an OpenAI-compatible base URL.

Style configuration is file-based: aicommit reads COMMITS.md from the repository root when present, otherwise ~/COMMITS.md. This makes the package interesting for teams that want generated messages to match local conventions rather than a generic conventional-commits template.

### Why package nerds care

aicommit is small, but package-nerd-relevant because it shows how quickly AI utilities became normal CLI packages: a single binary, Homebrew formula, Go install path, release artifacts, environment-variable configuration, and optional local secret persistence.

Its narrowness is the point. It can be packaged, audited, and replaced more easily than a large assistant, while still touching a high-frequency developer workflow.

### Timeline

- 2024: GitHub repository created in August.
- 2024: v0.3.x and v0.4.x releases published within days of repository creation.
- 2024: v0.6.5 released in November.
- 2026: Input package facts list Homebrew and winget packaging.

### Related projects

- aicommit is related to Git, OpenAI-compatible APIs, local model gateways such as LiteLLM, and other AI commit-message generators.
- It uses a repository-local COMMITS.md convention instead of a broader project-management or changelog system.

### Sources

- <https://api.github.com/repos/coder/aicommit>
- <https://api.github.com/repos/coder/aicommit/releases?per_page=100>
- <https://github.com/coder/aicommit#readme>
- <https://raw.githubusercontent.com/coder/aicommit/main/cmd/aicommit/main.go>
- <https://raw.githubusercontent.com/coder/aicommit/main/cmd/aicommit/savekey.go>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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: COMMITS.md in repository root, ~/COMMITS.md

## Credential files

- Linux: ${XDG_CONFIG_HOME}/aicommit/openai.key, ~/.config/aicommit/openai.key
- macOS: ~/Library/Application Support/aicommit/openai.key
- Windows: %AppData%\aicommit\openai.key
## Source Database Details

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

## Other Package-Manager Records

- winget - RussMckendrick.Aicommit: normalized package name match | Windows Package Manager source index: RussMckendrick.Aicommit from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Package name indicates the same formula family.
- [aicommits](https://www.automicvault.com/pkg/brew/aicommits/) - Shares av.db curated category or tags: ai, cli, commit-messages, developer-tools, git.
- [commitlint](https://www.automicvault.com/pkg/brew/commitlint/) - Shares av.db curated category or tags: cli, commit-messages, developer-tools, git, version-control.
- [vibecheck](https://www.automicvault.com/pkg/brew/vibecheck/) - Shares av.db curated category or tags: ai, cli, developer-tools, git, version-control.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [cig](https://www.automicvault.com/pkg/brew/cig/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [commitizen](https://www.automicvault.com/pkg/brew/commitizen/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [kommit](https://www.automicvault.com/pkg/brew/kommit/) - Local package facts share a topical domain. Shared terms: cli, commit, control, developer, developer-tools.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
