# 使用 Homebrew 安装 gitmoji

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

## 安装

```sh
sudo av install brew:gitmoji
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gitmoji
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gitmoji
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gitmoji>
- **版本:** 9.7.0
- **来源摘要:** Interactive command-line tool for using emoji in commit messages
- **主页:** <https://gitmoji.dev>
- **仓库:** <https://github.com/carloscuesta/gitmoji-cli>
- **上游文档:** <https://github.com/carloscuesta/gitmoji-cli#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/gitmoji-cli/-/gitmoji-cli-9.7.0.tgz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- gitmoji (cli)
- gitmoji (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 9.7.0
- 本地数据: OK
- 上游仓库: https://gitmoji.dev
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

gitmoji-cli is the command-line companion to Gitmoji, Carlos Cuesta's emoji guide for commit messages. The CLI turns the guide into an interactive commit workflow, searchable emoji catalog, commit hook, and local configuration system.

### 项目历史

The Gitmoji guide repository was created in October 2016 to standardize and explain emoji usage in GitHub commit messages. The gitmoji-cli repository followed in November 2016 as an interactive client for using those symbols from a terminal.

The CLI grew around practical commit-message tasks: searching the Gitmoji catalog, listing available entries, initializing a commit hook, creating commits through prompts, and caching the emoji list for offline use. Its configuration supports package.json and .gitmojirc.json so projects can choose emoji format, prompts, scopes, and catalog URL.

### 采用历史

Gitmoji became a recognizable developer-experience convention because the guide is easy to display in READMEs and the CLI made the convention usable without memorizing the catalog. The guide repository has substantial GitHub stars, and the CLI is distributed through npm and Homebrew.

The npm package history begins in November 2016 and spans many published versions, reflecting a JavaScript-tooling distribution model where the CLI can be installed globally and used across repositories.

### 使用方式

Practitioners use gitmoji-cli to search for an intention, create an interactive commit, or install a commit hook that prompts for an emoji during git commit. Teams that prefer text tokens can configure code-style output, while teams that prefer visual logs can use raw emoji.

The tool is often paired with Conventional Commits-style scopes or project-specific commit guidelines, giving a lightweight visual layer over release notes and history scanning.

### 为什么软件包爱好者会关心

gitmoji-cli is notable because the Homebrew formula name gitmoji points to a Node CLI whose upstream package is gitmoji-cli. It is a small example of package identity drift between a convention, its website, its data package, and the executable users install.

### 时间线

- 2016: The carloscuesta/gitmoji guide repository was created.
- 2016: The carloscuesta/gitmoji-cli repository and npm package were created.
- 2018: README examples showed hook, search, list, update, and configuration workflows.
- 2025: The 9.x release line continued the CLI's maintenance stream.

### Related projects

- carloscuesta/gitmoji provides the guide and emoji catalog used by the CLI.
- The gitmojis npm package publishes the emoji data for dependency use.

### 来源

- <https://api.github.com/repos/carloscuesta/gitmoji>
- <https://api.github.com/repos/carloscuesta/gitmoji-cli>
- <https://formulae.brew.sh/formula/gitmoji>
- <https://github.com/carloscuesta/gitmoji>
- <https://github.com/carloscuesta/gitmoji-cli>
- <https://gitmoji.dev/>
- <https://raw.githubusercontent.com/carloscuesta/gitmoji-cli/master/README.md>
- <https://raw.githubusercontent.com/carloscuesta/gitmoji/master/README.md>
- <https://registry.npmjs.org/gitmoji-cli>


## 安全说明

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: package.json, .gitmojirc.json
## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [commitlint](https://www.automicvault.com/zh-hans/pkg/brew/commitlint/) - Shares av.db curated category or tags: cli, commit-messages, developer-tools, git.
- [gitlint](https://www.automicvault.com/zh-hans/pkg/brew/gitlint/) - Shares av.db curated category or tags: cli, commit-messages, developer-tools, git.
- [all-repos](https://www.automicvault.com/zh-hans/pkg/brew/all-repos/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [b4](https://www.automicvault.com/zh-hans/pkg/brew/b4/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [bat](https://www.automicvault.com/zh-hans/pkg/brew/bat/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [bazel-diff](https://www.automicvault.com/zh-hans/pkg/brew/bazel-diff/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [bfg](https://www.automicvault.com/zh-hans/pkg/brew/bfg/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [bit-git](https://www.automicvault.com/zh-hans/pkg/brew/bit-git/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [czg](https://www.automicvault.com/zh-hans/pkg/brew/czg/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, commit, developer, developer-tools, git.
- [devmoji](https://www.automicvault.com/zh-hans/pkg/npm/devmoji/) - Local package facts share a topical domain. Shared terms: cli, command-line, commit, developer, developer-tools.

## Combined YAML source

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


## 来源

- 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
- cross-ecosystem install command graph
