# 使用 Homebrew, MacPorts 安装 git-cal

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

## 安装

```sh
sudo av install brew:git-cal
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-cal
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-cal
```

  证据: MacPorts ports tree: devel/git-cal/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:git-cal
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-cal>
- **版本:** 0.9.1
- **来源摘要:** GitHub-like contributions calendar but on the command-line
- **主页:** <https://github.com/k4rthik/git-cal>
- **仓库:** <https://github.com/k4rthik/git-cal>
- **许可证:** MIT
- **源码归档:** <https://github.com/k4rthik/git-cal/archive/refs/tags/v0.9.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- git-cal (cli)
- git-cal (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.1
- 本地数据: OK
- 上游仓库: https://github.com/k4rthik/git-cal
- 检测到的最新版本: v0.9.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

git-cal is a small Perl command-line tool that renders a GitHub-style contributions calendar from local Git history.

### 项目历史

The project is distributed from Karthik Katooru's GitHub repository and packaged as a single executable Perl script. The repository exposes v0.9 and v0.9.1 releases, with v0.9.1 described as a no-external-dependencies release.

### 采用历史

Adoption evidence is modest: the official README documents Homebrew installation, and the repository shows a niche but visible audience for a terminal contribution-calendar tool. That points to a utility used by command-line Git users rather than a broad ecosystem platform.

### 使用方式

Practitioners run git-cal inside or against a repository to inspect commit activity over roughly a year. Options support ANSI color, ASCII, Unicode output, author filtering, all-branch history, period selection, and path-limited history.

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

For package catalogs, git-cal is notable mostly as a tiny Unix-style Git companion: one executable Perl script, no CPAN dependencies declared in Makefile.PL, and behavior driven by Git log output.

### 时间线

- 2013: v0.9-era releases published in the official GitHub repository.
- 2013: v0.9.1 listed as the latest release with no external dependencies.
- 2010s: Homebrew installation documented in the official README.

### Related projects

- git-cal relates to contribution graphs in hosted Git forges, especially GitHub's contribution calendar, and to other terminal Git summary tools.

### 来源

- <https://github.com/k4rthik/git-cal>
- <https://raw.githubusercontent.com/k4rthik/git-cal/master/Makefile.PL>
- <https://raw.githubusercontent.com/k4rthik/git-cal/master/git-cal>
- source_facts.repo


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- MacPorts - git-cal: normalized package name match | MacPorts ports tree: devel/git-cal/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [onefetch](https://pkg.so/zh-hans/brew/onefetch/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [serie](https://pkg.so/zh-hans/brew/serie/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [release-it](https://pkg.so/zh-hans/brew/release-it/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [semtag](https://pkg.so/zh-hans/brew/semtag/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [gerrit-tools](https://pkg.so/zh-hans/brew/gerrit-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [pipet](https://pkg.so/zh-hans/brew/pipet/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [gh](https://pkg.so/zh-hans/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-delete-merged-branches](https://pkg.so/zh-hans/brew/git-delete-merged-branches/) - Package names and metadata indicate a similar tool family. Shared terms: cli, command-line, developer, developer-tools, git.
- [git-graph](https://pkg.so/zh-hans/brew/git-graph/) - Package names and metadata indicate a similar tool family. Shared terms: cli, command-line, developer, developer-tools, git.
- [git-open](https://pkg.so/zh-hans/brew/git-open/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, git, github.

## Combined YAML source

View the package source record on GitHub. [combined/git-cal.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-cal.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
