# Install tty-clock with Homebrew, apk, apt, Nix

Digital clock in ncurses. Version 2.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:tty-clock
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tty-clock>
- **Version:** 2.3
- **Source summary:** Digital clock in ncurses
- **Homepage:** <https://github.com/xorg62/tty-clock>
- **Repository:** <https://github.com/xorg62/tty-clock>
- **Upstream docs:** <https://github.com/xorg62/tty-clock#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/xorg62/tty-clock/archive/refs/tags/v2.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tty-clock (cli)
- tty-clock (alias)

## Build dependencies

- pkgconf

## Uses from macOS

- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.3
- Local data: ok
- Upstream repository: https://github.com/xorg62/tty-clock
- Upstream latest detected: v2.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cbonsai](https://www.automicvault.com/pkg/brew/cbonsai/) - Shares av.db curated category or tags: cli, ncurses, productivity, terminal.
- [clock-rs](https://www.automicvault.com/pkg/brew/clock-rs/) - Shares av.db curated category or tags: cli, clock, productivity, terminal, time.
- [sc-im](https://www.automicvault.com/pkg/brew/sc-im/) - Shares av.db curated category or tags: cli, ncurses, productivity, terminal.
- [vim](https://www.automicvault.com/pkg/brew/vim/) - Shares av.db curated category or tags: cli, ncurses, productivity, terminal.
- [byobu](https://www.automicvault.com/pkg/brew/byobu/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [eless](https://www.automicvault.com/pkg/brew/eless/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [gotz](https://www.automicvault.com/pkg/brew/gotz/) - Shares av.db curated category or tags: cli, productivity, terminal, time.
- [nvimpager](https://www.automicvault.com/pkg/brew/nvimpager/) - Shares av.db curated category or tags: cli, productivity, terminal.

## Combined YAML source

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


## Sources

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