# 使用 Homebrew, apk, apt, Nix 安装 tty-clock

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

## 安装

```sh
sudo av install brew:tty-clock
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tty-clock
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tty-clock
```

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

- Debian apt (92%):

```sh
sudo apt install tty-clock
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#tty-clock
```

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

## 软件包事实

- **软件包键:** brew:tty-clock
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tty-clock>
- **版本:** 2.3
- **来源摘要:** Digital clock in ncurses
- **主页:** <https://github.com/xorg62/tty-clock>
- **仓库:** <https://github.com/xorg62/tty-clock>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/xorg62/tty-clock/archive/refs/tags/v2.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tty-clock (cli)
- tty-clock (别名)

## 构建依赖

- pkgconf

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.3
- 本地数据: OK
- 上游仓库: https://github.com/xorg62/tty-clock
- 检测到的最新版本: v2.3 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

tty-clock is a small ncurses digital clock for the terminal. Its official README is essentially the command's usage synopsis, which fits the project's role as a compact Unix-style utility.

### 项目历史

The official GitHub page describes tty-clock simply as a clock using the ncurses library. The README documents a mature option set for seconds, screensaver mode, boxed and centered display, colors, bold colors, 12-hour time, UTC, a target tty, rebound animation, date formatting, blinking colon, and redraw delays.

### 采用历史

The supplied package facts show tty-clock packaged by Homebrew, Alpine, Debian, Ubuntu, and Nix. That adoption pattern is typical for terminal toys and small productivity utilities: tiny dependency surface, predictable build, and enough charm to be worth carrying in package collections.

### 使用方式

Users run `tty-clock` in a terminal to display an ncurses clock. The README options cover both practical clock display and screensaver-style behavior, including positioning, colors, date visibility, UTC, and update timing.

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

tty-clock is package-nerd significant less because of deep project history and more because it is the archetype of a packagable terminal nicety: C/ncurses, a single binary, a readable usage surface, and cross-distro availability.

### 时间线

- Undated: Official README documents the `tty-clock` command-line option set.
- Current: GitHub repository page lists the project as BSD-3-Clause licensed and release-tagged.
- Current: Supplied package facts list availability across Homebrew, Alpine, Debian, Ubuntu, and Nix.

### Related projects

- ncurses is the terminal UI library named by the official repository description.
- Other terminal clock and screensaver utilities occupy the same lightweight CLI-toy niche.

### 来源

- <https://github.com/xorg62/tty-clock#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tty-clock
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - tty-clock - 2.3+git.20211121.f2f847c-1: normalized package name match | Debian stable package indexes: tty-clock from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple terminal clock | https://github.com/xorg62/tty-clock
- Nix - tty-clock: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/tty-clock/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tty-clock - 2.3-4: normalized package name match | Ubuntu 24.04 LTS package indexes: tty-clock from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple terminal clock | https://github.com/xorg62/tty-clock
- apk - tty-clock - 2.3_git20240104-r0: normalized package name match | Alpine Linux edge package indexes: tty-clock from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | tty clock! | https://github.com/xorg62/tty-clock
- apk - tty-clock-doc - 2.3_git20240104-r0: normalized package name match | Alpine Linux edge package indexes: tty-clock-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | tty clock! (documentation) | https://github.com/xorg62/tty-clock


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [sc-im](https://pkg.so/zh-hans/brew/sc-im/) - Shares pkgdb curated category or tags: cli, ncurses, productivity, terminal.
- [vifm](https://pkg.so/zh-hans/brew/vifm/) - Shares pkgdb curated category or tags: cli, ncurses, productivity, terminal.
- [clock-rs](https://pkg.so/zh-hans/brew/clock-rs/) - Shares pkgdb curated category or tags: cli, clock, productivity, terminal.
- [mdp](https://pkg.so/zh-hans/brew/mdp/) - Shares pkgdb curated category or tags: cli, ncurses, productivity, terminal.
- [abook](https://pkg.so/zh-hans/brew/abook/) - Shares pkgdb curated category or tags: cli, ncurses, productivity, terminal.
- [arttime](https://pkg.so/zh-hans/brew/arttime/) - Shares pkgdb curated category or tags: cli, clock, productivity, terminal.
- [vtclock](https://pkg.so/zh-hans/brew/vtclock/) - Shares pkgdb curated category or tags: cli, clock, productivity, terminal.
- [tmux](https://pkg.so/zh-hans/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity, terminal.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
