# 使用 Homebrew 安装 diary

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

## 安装

```sh
sudo av install brew:diary
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install diary
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:diary
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/diary>
- **版本:** 0.16
- **来源摘要:** Text-based journaling program
- **主页:** <https://diary.p0c.ch>
- **上游文档:** <https://diary.p0c.ch>
- **许可证:** MIT
- **源码归档:** <https://code.in0rdr.ch/diary/archive/diary-v0.16.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- diary (cli)
- diary (别名)

## 构建依赖

- pkgconf

## macOS 提供的库

- curl
- libxml2
- ncurses

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.16
- 本地数据: OK
- 上游仓库: https://diary.p0c.ch
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

diary is a text-based journaling program that stores entries as date-named text files and can import, export, and synchronize calendar entries.

### 项目历史

The official manual documents a terminal journaling workflow driven by a diary directory, an optional XDG configuration file, and editor integration.

### 采用历史

The supplied Homebrew facts identify diary as packaged for Homebrew with an MIT license and the official homepage at diary.p0c.ch.

### 使用方式

Users navigate days in the terminal, edit entries with their configured editor, import or export .ics files, and optionally sync entries to CalDAV.

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

It is package-manager friendly because it is a small terminal utility with XDG-style configuration, plain text journal storage, and optional CalDAV integration.

### 时间线

- Current: Official manual documents XDG config, DIARY_DIR storage, .ics import/export, and CalDAV sync.

### Related projects

- CalDAV clients, terminal diaries, plain-text journaling tools, calendar import/export tools.

### 来源

- <https://diary.p0c.ch/man>
- source_facts.homepage
- source_facts.package-manager


## 安全说明

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_HOME:-~/.config}/diary/diary.cfg

## Credential files

- Unix: ${XDG_CONFIG_HOME:-~/.config}/diary/diary.cfg
## 源数据库详情

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


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [khal](https://pkg.so/zh-hans/brew/khal/) - Shares pkgdb curated category or tags: caldav, calendar, cli, productivity, terminal.
- [vdirsyncer](https://pkg.so/zh-hans/brew/vdirsyncer/) - Shares pkgdb curated category or tags: caldav, calendar, cli, productivity.
- [jrnl](https://pkg.so/zh-hans/brew/jrnl/) - Shares pkgdb curated category or tags: cli, journaling, productivity.
- [calcurse](https://pkg.so/zh-hans/brew/calcurse/) - Shares pkgdb curated category or tags: caldav, calendar, cli, productivity.
- [tmux](https://pkg.so/zh-hans/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [vim](https://pkg.so/zh-hans/brew/vim/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [yazi](https://pkg.so/zh-hans/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [gogcli](https://pkg.so/zh-hans/brew/gogcli/) - Shares pkgdb curated category or tags: calendar, cli, productivity.
- [byobu](https://pkg.so/zh-hans/brew/byobu/) - Local package facts share a topical domain. Shared terms: based, cli, productivity, terminal, text.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
