# 使用 Homebrew, MacPorts, Nix, winget 安装 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

### Windows

- winget (92%):

```sh
winget install --id goldjg.cARL -e
```

  证据: Windows Package Manager source index: goldjg.cARL from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:carl
- **软件包管理器:** Homebrew
- **版本:** 0.6.0
- **来源摘要:** Calendar for the command-line
- **主页:** <https://codeberg.org/birger/carl>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- carl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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
- winget - goldjg.cARL: normalized package name match | Windows Package Manager source index: goldjg.cARL from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
