# 使用 Homebrew 安装 tock

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

## 安装

```sh
sudo av install brew:tock
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tock
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tock
- **软件包管理器:** Homebrew
- **版本:** 2.0.4
- **来源摘要:** Powerful time tracking tool for the command-line
- **主页:** <https://github.com/kriuchkov/tock>
- **仓库:** <https://github.com/kriuchkov/tock>
- **最后更新:** 2026-08-02T18:10:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tock (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Tock is a Go command-line time tracker that stores activity logs in local files and presents an interactive terminal calendar. Its official README frames it as a fast, lightweight, plaintext-first tool for people who track work from the command line.

### 项目历史

The project README describes Tock as a single-binary CLI with multiple storage backends, including flat files, TodoTXT-compatible files, TimeWarrior data files, and SQLite. It also states that Tock was inspired by Bartib and aims to provide a similar time-tracking workflow in Go with a clean architecture approach and an interactive terminal UI.

### 采用历史

Tock is available through Homebrew according to both the input metadata and the official README, which also documents go install, source builds, an install script, and release downloads. Its adoption history is therefore mostly package-manager and terminal-user oriented rather than tied to a large external ecosystem.

### 使用方式

Users start and stop activities with commands such as tock start and tock stop, inspect time in calendar and list views, and export reports as text, CSV, JSON, or iCal. The README also documents machine-readable JSON commands for local agent workflows.

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

Tock matters in the package-nerd niche because it bridges several plaintext productivity camps: TodoTXT-compatible lines, TimeWarrior data, SQLite, shell completion, Homebrew installation, and local files that can be inspected or synchronized without a hosted service.

### 时间线

- 2026: README examples document current commands, JSON output paths, and date examples.
- 2026: Homebrew formula metadata in the batch input lists Tock as brew:tock.

### Related projects

- Bartib is named by the official README as an inspiration.
- TodoTXT and TimeWarrior are supported storage formats or backends.

### 来源

- <https://github.com/kriuchkov/tock#readme>
- <https://github.com/kriuchkov/tock/blob/master/docs/commands.md>
- source_facts.package-manager


## 安全说明

没有找到 tock 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
