# 使用 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
- **版本:** 0.9.1
- **来源摘要:** GitHub-like contributions calendar but on the command-line
- **主页:** <https://github.com/k4rthik/git-cal>
- **仓库:** <https://github.com/k4rthik/git-cal>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-cal (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.9.1
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
