# 使用 Homebrew, apk, apt, MacPorts, Nix, zypper, dnf, pacman 安装 timewarrior

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

## 安装

```sh
sudo av install brew:timewarrior
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install timewarrior
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install timewarrior
```

  证据: MacPorts ports tree: office/timewarrior/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add timewarrior
```

  证据: Alpine Linux edge package indexes: timewarrior from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install timewarrior
```

  证据: Debian stable package indexes: timewarrior from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#timewarrior
```

  证据: nixpkgs package indexes: pkgs/by-name/ti/timewarrior/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install timewarrior
```

  证据: openSUSE Tumbleweed package metadata: timewarrior from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install timew
```

  证据: Fedora Rawhide package metadata: timew from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S timew
```

  证据: Arch Linux sync databases: timew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:timewarrior
- **软件包管理器:** Homebrew
- **版本:** 1.10.0
- **来源摘要:** Command-line time tracking application
- **主页:** <https://timewarrior.net/>
- **仓库:** <https://github.com/GothenburgBitFactory/timewarrior>
- **最后更新:** 2026-08-02T22:08:41Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- timew (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Timewarrior is a free, open-source command-line time-tracking application from the Gothenburg Bit Factory ecosystem, closely associated with Taskwarrior.

### 项目历史

Timewarrior began as a companion to Taskwarrior. The Taskwarrior project announced Timewarrior 0.9.5 alpha in June 2016, describing it as a tool intended to replace Taskwarrior's older `timesheet` command and add more reporting capability.

The 1.0.0 release followed in August 2016. The release announcement described Timewarrior as tracking time from the command line, generating reports, storing data locally in clear text, and integrating with Taskwarrior.

The official Timewarrior site now presents it as free and open-source software that tracks time from the command line. Its release archive shows continued maintenance through the 1.x series, including 1.5.0 in 2023, 1.7.x in 2023-2024, and 1.9.1 in 2025.

### 采用历史

Timewarrior's adoption is strongly tied to command-line productivity users who already use Taskwarrior or similar plain-text workflows. Its tutorials emphasize no initial setup beyond first-run data/config creation and simple commands for starting, stopping, tagging, and summarizing intervals.

The input package-manager metadata lists broad distribution across apk, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE, indicating unusually wide packaging for a terminal productivity tool.

### 使用方式

Typical usage starts with `timew start`, `timew stop`, and `timew summary`, often with tags to classify tracked work. The docs also cover backfilled intervals with `timew track` and reporting features such as summaries and charts.

Timewarrior stores intervals and models open and closed time ranges; the official interval-behavior docs explain real and synthetic intervals, exclusions, and how an open interval is handled across excluded time.

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

Timewarrior is significant in the package-nerd niche because it is a mature CLI productivity tool with local text-like data, scriptable commands, and a natural link to Taskwarrior hooks and workflows.

Its appeal is strongest for users who want time tracking to live in the terminal and package manager rather than in a hosted SaaS application.

### 时间线

- 2016-06: Timewarrior 0.9.5 alpha announced by Taskwarrior.
- 2016-08: Timewarrior 1.0.0 released.
- 2023-04: Timewarrior 1.5.0 released.
- 2025-08: Timewarrior 1.9.1 listed as the current release on the official site.

### Related projects

- Taskwarrior is Timewarrior's closest related project; official announcements describe Timewarrior as its companion and replacement for Taskwarrior's older timesheet command.
- The broader family includes Gothenburg Bit Factory command-line productivity projects.

### 来源

- <https://taskwarrior.org/news/news.20160620/ - official Taskwarrior news announcing Timewarrior 0.9.5 alpha and its companion role.>
- <https://taskwarrior.org/news/news.20160821/ - official Taskwarrior news announcing Timewarrior 1.0.0.>
- <https://timewarrior.net/ - official homepage describes current purpose and release.>
- <https://timewarrior.net/docs/interval_behavior/ - official docs describe interval storage and behavior.>
- <https://timewarrior.net/releases/ - official release archive lists 1.0.0 through 1.9.1 release dates.>
- <https://timewarrior.net/tutorial/first_light/ - official tutorial documents first-run setup.>
- input.source_facts.package-manager - package-manager availability lists apk, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE.


## 安全说明

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: ~/.timewarrior/timewarrior.cfg
## 其他软件包管理器记录

- Debian apt - timewarrior - 1.7.1+ds.1-2: normalized package name match | Debian stable package indexes: timewarrior from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | feature-rich time tracking utility | https://timewarrior.net/
- Nix - timewarrior: normalized package name match | nixpkgs package indexes: pkgs/by-name/ti/timewarrior/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - timewarrior - 1.7.1+ds.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: timewarrior from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | feature-rich time tracking utility | https://timewarrior.net/
- apk - timewarrior - 1.7.1-r0: normalized package name match | Alpine Linux edge package indexes: timewarrior from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | command line time tracking and reporting | https://timewarrior.net
- apk - timewarrior-doc - 1.7.1-r0: normalized package name match | Alpine Linux edge package indexes: timewarrior-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | command line time tracking and reporting (documentation) | https://timewarrior.net
- zypper - timewarrior - 1.9.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: timewarrior from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command line time tracker | https://timewarrior.net/
- MacPorts - timewarrior: normalized package name match | MacPorts ports tree: office/timewarrior/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - timew - 1.4.3-r1: installed executable or alias match | Alpine Linux edge package indexes: timew from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Timewarrior is a command line time tracking application | https://taskwarrior.org/
- apk - timew-bash-completion - 1.4.3-r1: installed executable or alias match | Alpine Linux edge package indexes: timew-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for timew | https://taskwarrior.org/
- apk - timew-doc - 1.4.3-r1: installed executable or alias match | Alpine Linux edge package indexes: timew-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Timewarrior is a command line time tracking application (documentation) | https://taskwarrior.org/
- dnf - timew - 1.9.1-3.fc45: installed executable or alias match | Fedora Rawhide package metadata: timew from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Timewarrior tracks and reports time | https://timewarrior.net/
- pacman - timew - 1.9.1-1: installed executable or alias match | Arch Linux sync databases: timew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Timewarrior, A command line time tracking application | https://timewarrior.net/


## Combined YAML source

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