# 使用 Homebrew 安装 todo-txt

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

## 安装

```sh
sudo av install brew:todo-txt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install todo-txt
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:todo-txt
- **软件包管理器:** Homebrew
- **版本:** 2.13.0
- **来源摘要:** Minimal, todo.txt-focused editor
- **主页:** <http://todotxt.org/>
- **仓库:** <https://github.com/todotxt/todo.txt-cli>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- todo.sh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Todo.txt CLI is the canonical shell implementation of the todo.txt method: tasks live in a plain text file and the todo.sh command edits, lists, prioritizes, completes, and archives those lines. The project is unusually durable for a CLI productivity tool because its data model is intentionally simple and portable.

### 项目历史

The official changelog starts with 1.0.0 on 2006-05-11, described as a consolidated master script with usage notes. During 2006 the CLI added path handling, case-insensitive listing, priorities, completion dates, color options, a separated config file, aliases, interactive editing, and task archiving behavior.

The 2009 2.0 series expanded todo.sh beyond a single todo.txt file by adding commands for moving tasks, listing contexts and projects, appending to other files in the todo directory, and auto-archiving completed tasks. Version 2.1.0 added pluggability through a ~/.todo.actions.d directory and a more Unix-style ~/.todo.cfg fallback.

Later releases show a long maintenance arc rather than a rewrite. The 2011 release improved portability for Dropbox or USB-key workflows; 2013 added global /etc/todo/config support and a make install path; 2018 added XDG config/action locations and a code of conduct; 2020 added macOS Catalina support and minimal default filenames; 2024 released v2.13.0 with more priority/list behavior and safer custom-action checks.

### 采用历史

The README documents installation by Homebrew on macOS, make install on Linux, and Arch AUR packaging. It also points users to GitHub Discussions, Issues, Gitter, Reddit, and official social channels, which reflects a long-lived community around both the CLI and the broader todo.txt philosophy.

Todo.txt's adoption has been helped by the fact that its core storage is plain text. The README explicitly mentions common customizations such as moving the todo directory into a cloud drive, modifying colors, highlighting projects and contexts, and using a configuration template even when a global config is installed.

### 使用方式

Users run todo.sh with actions such as add, list, listall, listpri, listcon, listproj, do, archive, append, prepend, replace, and move. The official usage document emphasizes project and context notation, priority sorting, filtering by terms, add-ons, and keeping completed tasks in done.txt.

The package-manager usage pattern is simple: install the script, copy or create a ~/.todo.cfg, keep todo.txt, done.txt, and report.txt in a chosen directory, then bind aliases or shell completions around todo.sh. That makes it easy to script, version, sync, or inspect with standard Unix tools.

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

Todo.txt CLI is a package-nerd touchstone because it reduces a productivity system to a Bash script, a small config file, and line-oriented data. It is attractive to people who prefer grep, sed, version control, Dropbox-style sync, shell aliases, and editor integration over opaque app databases.

The project also influenced other plaintext task tools and integrations. Its changelog and usage docs describe add-ons, custom actions, context/project conventions, and portable config behavior, all of which made it a natural target for downstream packages and small personal automation.

### 时间线

- 2006-05-11: 1.0.0 consolidated the original master script with usage notes.
- 2006-07: 1.6 and 1.7 releases added separated config, interactive actions, aliases, and listall.
- 2009-02: 2.0.0 added file-moving, context/project listing, addto, and auto-archive behavior.
- 2009-02: 2.1.0 added ~/.todo.actions.d pluggability and ~/.todo.cfg fallback.
- 2011-09: 2.8.0 improved portability for Dropbox or USB-key users.
- 2013-12: 2.10.0 added make install and global /etc/todo/config support.
- 2018-03: 2.11.0 added XDG config/action location support.
- 2020-08: 2.12.0 added macOS 10.15 support and minimal default filenames.
- 2024-12: 2.13.0 updated list/priority behavior and custom-action checks.

### Related projects

- The official README and input metadata tie todo.txt CLI to the broader todotxt.org project.
- Tock and Todoman are adjacent command-line productivity tools in this batch; Tock explicitly supports TodoTXT-compatible activity files.

### 来源

- <https://github.com/todotxt/todo.txt-cli#readme>
- <https://github.com/todotxt/todo.txt-cli/blob/master/CHANGELOG.md>
- <https://github.com/todotxt/todo.txt-cli/blob/master/USAGE.md>
- 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: ~/.todo.cfg, /etc/todo/config

## Combined YAML source

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