Automic VaultAutomic Vault

brew

使用 Homebrew 安装 aicommit2

查看 aicommit2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aicommit2

local Homebrew formula metadata

概览

软件包摘要

Reactive CLI that generates commit messages for Git and Jujutsu with AI

命令和别名

  • aic2
  • aicommit2

历史

项目历史与用法

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.

时间线

  • 2023: npm package record for aicommit2 created.
  • 2024: Current GitHub repository created.
  • 2026: Homebrew formula and npm package list version 2.6.1 as stable/latest.

Related projects

  • aicommits, cited by aicommit2 as inspiration.
  • Git, YADM, and Jujutsu, the version-control systems aicommit2 targets.
  • Ollama and OpenAI-compatible APIs, supported provider families.

安全态势

尚未找到受保护工具覆盖

没有找到 aicommit2 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
$AICOMMIT_CONFIG_PATH$XDG_CONFIG_HOME/aicommit2/config.ini~/.config/aicommit2/config.ini~/.aicommit2

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$AICOMMIT_CONFIG_PATH$XDG_CONFIG_HOME/aicommit2/config.ini~/.config/aicommit2/config.ini~/.aicommit2

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aic2cli全局可执行文件
aicommit2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.8.0
管理器更新时间2026-07-12
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/tak-bro/aicommit2

安装元数据

软件包元数据

软件包键brew:aicommit2
版本2.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/aicommit2
主页https://github.com/tak-bro/aicommit2
仓库https://github.com/tak-bro/aicommit2
上游文档https://github.com/tak-bro/aicommit2
许可证MIT
源码归档https://registry.npmjs.org/aicommit2/-/aicommit2-2.8.0.tgz
最后更新2026-07-12T00:17:48Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaicommit2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment