# 使用 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
- **版本:** 2.3
- **来源摘要:** Digital clock in ncurses
- **主页:** <https://github.com/xorg62/tty-clock>
- **仓库:** <https://github.com/xorg62/tty-clock>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tty-clock (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
