# 使用 Homebrew 安装 diary

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install diary
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:diary
- **软件包管理器:** Homebrew
- **版本:** 0.16
- **来源摘要:** Text-based journaling program
- **主页:** <https://diary.p0c.ch>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- diary (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
