# 使用 Homebrew, MacPorts, Nix, zypper 安装 watson

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

## 安装

```sh
sudo av install brew:watson
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install watson
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install watson
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#watson
```

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

- zypper (92%):

```sh
sudo zypper install watson
```

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

## 软件包事实

- **软件包键:** brew:watson
- **软件包管理器:** Homebrew
- **版本:** 2.1.0
- **来源摘要:** Command-line tool to track (your) time
- **主页:** <https://jazzband.github.io/Watson/>
- **仓库:** <https://github.com/jazzband/Watson>
- **最后更新:** 2026-05-15T11:13:55Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- watson (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Watson is a Python command-line time tracker for people who want project and tag based time logs without leaving the terminal. Its unit of work is a frame: start a project with tags, stop it later, and use log/report commands to inspect the resulting sessions.

### 项目历史

Watson's changelog records a first stable public release, 1.0.0, on September 17, 2015. Through 2016 the project added Bash completion, frame IDs, restart and merge commands, daily log summaries, browsable documentation, directory overrides, a logo, Arch Linux documentation, Homebrew documentation, year/month/week/day reporting options, zsh completion, default tags, and safer backup behavior when saving state.

The 2017-2022 changelog shows a steady CLI-maintenance arc: JSON report output, compatibility with a new crick.io sync backend, Python 3.6/3.7/3.8/3.9 support, an `add` command, fish completion, CSV output, typo suggestions, reverse log ordering, time-zone support through TZ, removal of Python 2.7 and 3.5 in the 2.0 release, and Click 8 compatibility in 2.1.0. The GitHub repository now lives under Jazzband; a 2024 Jazzband bot issue tracks implementing Jazzband guidelines after the transfer.

### 采用历史

Watson is not a corporate time-tracking platform; its adoption is in the terminal productivity niche. The GitHub page reports about 2.5 thousand stars and hundreds of forks, the documentation points to pip and Homebrew installation, and the command set favors local control: data is stored on the user's computer, with optional sync to a crick server for people who want remote storage or sharing.

### 使用方式

The canonical flow is `watson start project +tag`, work for a while, then `watson stop`. Users inspect sessions with `watson log`, generate summaries with report-style commands, filter by project, tag, and dates, and use shell completions for known commands, projects, tags, and frame IDs.

In package-nerd terms, Watson appeals to users who prefer plain CLI state over a hosted UI: a local Python tool, simple commands, shell completion, JSON/CSV output history, and enough filtering to build reports for clients, invoices, retrospectives, or personal accounting.

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

Watson is significant as a small example of the Unixy personal-productivity tool: text-command interaction, local data, project/tag taxonomy, and scriptable output. It belongs in the same mental shelf as Timewarrior and other personal time trackers, but with a Python ecosystem flavor and a simple frame model.

### 时间线

- 2015-09-17: Watson 1.0.0 is released as the first stable public release.
- 2016-01-22: 1.2.0 adds restart and merge commands plus daily log summaries.
- 2016-11-01: 1.4.0 adds rename, period reporting options, zsh completion, default tags, and Homebrew documentation.
- 2019-08-26: 1.8.0 adds CSV output for report, log, and aggregate commands.
- 2021-03-19: 2.0.0 adds Python 3.8/3.9 support, TZ support, and removes Python 2.7 support.
- 2022-05-16: 2.1.0 adds restart gap options and Click 8 compatibility.
- 2024-08-26: Jazzband opens an issue to implement Jazzband project guidelines for Watson.

### Related projects

- Related projects include Timewarrior, ActivityWatch, Hamster-style time trackers, crick for Watson sync, shell completion systems, and personal reporting scripts that consume Watson's logged frames.

### 来源

- <https://github.com/jazzband/Watson>
- <https://github.com/jazzband/Watson/issues/509>
- <https://jazzband.github.io/Watson/>
- <https://raw.githubusercontent.com/jazzband/Watson/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/jazzband/Watson/master/README.rst>


## 安全说明

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



## 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

- Linux: ~/.config/watson/config
- macOS: ~/Library/Application Support/watson/config
- Windows: %appdata%\watson\config, C:\Users\<user>\AppData\Roaming\watson\config

## Credential files

- Linux: ~/.config/watson/config
- macOS: ~/Library/Application Support/watson/config
- Windows: %appdata%\watson\config, C:\Users\<user>\AppData\Roaming\watson\config
## 其他软件包管理器记录

- Nix - watson: normalized package name match | nixpkgs package indexes: pkgs/by-name/wa/watson/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - watson - 2.1.0-1.12: normalized package name match | openSUSE Tumbleweed package metadata: watson from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI time tracker | https://github.com/TailorDev/Watson
- zypper - watson-bash-completion - 2.1.0-1.12: normalized package name match | openSUSE Tumbleweed package metadata: watson-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for watson | https://github.com/TailorDev/Watson
- zypper - watson-fish-completion - 2.1.0-1.12: normalized package name match | openSUSE Tumbleweed package metadata: watson-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish completion for watson | https://github.com/TailorDev/Watson
- zypper - watson-zsh-completion - 2.1.0-1.12: normalized package name match | openSUSE Tumbleweed package metadata: watson-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh completion for watson | https://github.com/TailorDev/Watson
- MacPorts - watson: normalized package name match | MacPorts ports tree: office/watson/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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