# 使用 Homebrew, MacPorts, Nix 安装 carl

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

## 安装

```sh
sudo av install brew:carl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install carl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install carl
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#carl
```

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

## 软件包事实

- **软件包键:** brew:carl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/carl>
- **版本:** 0.6.0
- **来源摘要:** Calendar for the command-line
- **主页:** <https://codeberg.org/birger/carl>
- **仓库:** <https://codeberg.org/birger/carl>
- **上游文档:** <https://carl.cli.rs/>
- **许可证:** MIT
- **源码归档:** <https://static.crates.io/crates/carl/carl-0.6.0.crate>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- carl (cli)
- carl (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

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

carl is a Rust command-line calendar that deliberately resembles traditional cal(1) tools while adding color themes, iCalendar highlighting, agendas, and template customization.

### 项目历史

The Codeberg repository was created in December 2021 and the first tagged release, 0.0.1, was published on January 1, 2022. Its README identifies Birger Schacht as the copyright holder for 2021-2023 and documents a compact CLI installed with cargo.

### 采用历史

carl is a niche terminal productivity tool rather than a large platform project. Its adoption path is typical for Rust command-line software: upstream publishes source and cargo installation instructions, while package managers such as Homebrew, MacPorts, and Nix make the executable available outside Cargo workflows.

### 使用方式

Users run carl to print one month, three months, a year, Julian dates, or a specified date. Configuration can point to iCalendar files or directories, select themes, and configure custom Jinja templates.

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

For package nerds, carl is a tidy example of a modern replacement for a small Unix utility: it keeps the old terminal shape of cal(1), but adds XDG configuration, iCalendar awareness, theming, and Rust packaging.

### 时间线

- 2021: Codeberg repository created.
- 2022: 0.0.1 tagged as the first release.
- 2023: 0.0.3 released on Codeberg.

### Related projects

- carl explicitly positions itself next to cal(1) implementations.
- Its iCalendar support connects it to the broader family of terminal calendar and agenda tools.

### 来源

- <https://codeberg.org/birger/carl>
- <https://carl.cli.rs/>
- <https://formulae.brew.sh/api/formula/carl.json>


## 安全说明

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: XDG_CONFIG_DIRS/carl/config.toml, XDG_CONFIG_HOME/.carl/config.toml
## 源数据库详情

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

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

- Nix - carl: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/carl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - carl: normalized package name match | MacPorts ports tree: office/carl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/zh-hans/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [ad](https://www.automicvault.com/zh-hans/pkg/brew/ad/) - Shares av.db curated category or tags: cli, productivity, rust.
- [amp](https://www.automicvault.com/zh-hans/pkg/brew/amp/) - Shares av.db curated category or tags: cli, productivity, rust.
- [bartib](https://www.automicvault.com/zh-hans/pkg/brew/bartib/) - Shares av.db curated category or tags: cli, productivity, rust.
- [calcurse](https://www.automicvault.com/zh-hans/pkg/brew/calcurse/) - Shares av.db curated category or tags: calendar, cli, productivity.
- [ccal](https://www.automicvault.com/zh-hans/pkg/brew/ccal/) - Shares av.db curated category or tags: calendar, cli, productivity.
- [clock-rs](https://www.automicvault.com/zh-hans/pkg/brew/clock-rs/) - Shares av.db curated category or tags: cli, productivity, rust.
- [concord](https://www.automicvault.com/zh-hans/pkg/brew/concord/) - Shares av.db curated category or tags: cli, productivity, rust.
- [ddate](https://www.automicvault.com/zh-hans/pkg/brew/ddate/) - Shares av.db curated category or tags: calendar, cli, productivity.
- [faircamp](https://www.automicvault.com/zh-hans/pkg/brew/faircamp/) - Local package facts share a topical domain. Shared terms: cli, productivity.
- [gallery-dl](https://www.automicvault.com/zh-hans/pkg/brew/gallery-dl/) - Local package facts share a topical domain. Shared terms: cli, command-line, line.

## Combined YAML source

View the package source record on GitHub. [combined/carl.yml](https://github.com/automic-vault/db/blob/main/combined/carl.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
- external package-manager database matches
- cross-ecosystem install command graph
