# 使用 Homebrew, apt, Nix 安装 hebcal

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

## 安装

```sh
sudo av install brew:hebcal
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hebcal
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install hebcal
```

  证据: Debian stable package indexes: hebcal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#hebcal
```

  证据: nixpkgs package indexes: pkgs/by-name/he/hebcal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:hebcal
- **软件包管理器:** Homebrew
- **版本:** 5.15.0
- **来源摘要:** Perpetual Jewish calendar for the command-line
- **主页:** <https://hebcal.github.io/>
- **仓库:** <https://github.com/hebcal/hebcal>
- **最后更新:** 2026-07-25T20:56:30-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hebcal (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

hebcal is a command-line perpetual Jewish calendar. It prints Hebrew dates, holidays, weekly Torah portions, Omer counts, candle-lighting and Havdalah times, daily learning schedules, and related calendar data for scripted or terminal use.

### 项目历史

The README credits Danny Sadinoff as the original author, with portions by Michael J. Radwin and later contributions for JavaScript, Daf Yomi, Molad, and sunrise/sunset features. It describes Hebcal as a flexible program for printing Jewish calendar events for a given secular or Hebrew year, month, day, or ISO date.

The README records that version 3 rewrote much of the program using the Emacs 19 calendar routines by Edward M. Reingold and Nachum Dershowitz, tying the Unix CLI to a wider lineage of calendrical computation rather than a single-purpose holiday table. GitHub repository metadata records the public hosted project from July 2013.

### 采用历史

Hebcal occupies the classic Unix utility niche: a domain-specific calendar program that can print plain text, tab-delimited output, localized event names, and date ranges for shell scripts or human reading. The input package facts record packaging in Homebrew, Debian, Ubuntu, and Nix, suggesting sustained use by command-line users who want Jewish calendar data outside a web app.

### 使用方式

The CLI accepts a year, month/day/year, Hebrew month/year, or ISO date and can selectively enable or suppress Hebrew dates, holidays, sedrot, Omer counts, modern Israeli holidays, candle-lighting, Havdalah, zmanim, and daily learning schedules. Its environment support includes `HEBCAL_CITY` for default candle-lighting geography and `HEBCAL_OPTS` for repeated command options.

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

For package nerds, Hebcal is a good example of a small culturally specific Unix tool that remains valuable because it is composable. It turns calendrical rules, local sunset calculations, transliteration choices, and recurring study cycles into predictable command output that can be piped, scripted, cron-run, or wrapped by other calendar systems.

### 时间线

- Version 3 era: The README says much of Hebcal was rewritten using Emacs 19 calendar routines by Reingold and Dershowitz.
- 2013: GitHub repository metadata records the hosted Hebcal source repository.
- Package-manager era: The input package facts record Hebcal in Homebrew, Debian, Ubuntu, and Nix packaging.

### Related projects

- The README explicitly points to `calendar(1)`, Emacs calendar, hcal, hdate, omer, remind, and rise as related command-line or calendar tools. Algorithmically it is related to the calendrical work of Edward M. Reingold and Nachum Dershowitz.

### 来源

- <https://github.com/hebcal/hebcal>
- <https://hebcal.github.io/>
- <https://raw.githubusercontent.com/hebcal/hebcal/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - hebcal - 4.31-1: normalized package name match | Debian stable package indexes: hebcal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perpetual Jewish Calendar | https://github.com/hebcal/hebcal
- Nix - hebcal: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hebcal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hebcal - 4.31-1: normalized package name match | Ubuntu 24.04 LTS package indexes: hebcal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Perpetual Jewish Calendar | https://github.com/hebcal/hebcal


## Combined YAML source

View the package source record on GitHub. [combined/hebcal.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hebcal.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
