macOS
brew install aicommit2local Homebrew formula metadata
brew
Reactive CLI that generates commit messages for Git and Jujutsu with AI. Version 2.7.0 via Homebrew; verified 2026-07-08.
install
brew install aicommit2local Homebrew formula metadata
overview
Reactive CLI that generates commit messages for Git and Jujutsu with AI
history
aicommit2 is a Node-based command-line tool for generating commit messages and code-review text from version-control diffs. Its upstream README describes support for Git, YADM, and Jujutsu, plus cloud and local AI providers including OpenAI, Anthropic, Gemini, Mistral, Groq, Ollama, OpenRouter, and other OpenAI-compatible services.
The project positions itself as a successor-style tool in the AI commit-message niche: the README explicitly says AICommits inspired its core functionality and architecture. The npm registry records the aicommit2 package as created in July 2023, while the current GitHub repository record dates the public repository to January 2024.
Later development emphasized provider breadth, reactive selection among generated messages, Jujutsu support, prepare-commit-msg hook usage, diff compression, and optional code review. The configuration documentation settled on an XDG-style INI file with a legacy dotfile fallback.
Official install paths include npm, Homebrew, and Nix. The README advertises both npm and Homebrew badges, and the Homebrew formula describes it as a reactive CLI for Git and Jujutsu commit messages.
Homebrew analytics for the formula reported 1,842 installs over 365 days at the time checked, while the npm registry showed 155 published versions and latest version 2.6.1.
Typical use is to stage changes and run `aicommit2`, or use the shorter `aic2` alias. Users configure at least one provider through `aicommit2 setup`, `aicommit2 config set`, environment variables, or a config file.
Package-manager users care about the config-path order because the same file can hold provider keys and model settings: `$AICOMMIT_CONFIG_PATH`, then XDG config, then `~/.aicommit2`.
aicommit2 is part of the post-ChatGPT wave of small, global CLI tools that wrap Git workflows with LLM calls. It is interesting beside aicommits because it shows a package evolving from single-purpose commit generation into a multi-provider, multi-VCS terminal assistant while still installing as one small executable.
security posture
No matching local secret-handling manifest was found for aicommit2. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
$AICOMMIT_CONFIG_PATH$XDG_CONFIG_HOME/aicommit2/config.ini~/.config/aicommit2/config.ini~/.aicommit2Credential-bearing paths to review before unattended agent runs.
$AICOMMIT_CONFIG_PATH$XDG_CONFIG_HOME/aicommit2/config.ini~/.config/aicommit2/config.ini~/.aicommit2executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aic2 | cli | global executable | |
aicommit2 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tak-bro/aicommit2
install metadata
| Package key | brew:aicommit2 |
|---|---|
| Version | 2.7.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/aicommit2 |
| Homepage | https://github.com/tak-bro/aicommit2 |
| Repository | https://github.com/tak-bro/aicommit2 |
| Upstream docs | https://github.com/tak-bro/aicommit2 |
| License | MIT |
| Source archive | https://registry.npmjs.org/aicommit2/-/aicommit2-2.7.0.tgz |
| Last updated | 2026-07-08T03:28:43Z |
| Pulse | updated |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aicommit2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.