# Install clock-rs with Homebrew, Nix

Modern, digital clock that effortlessly runs in your terminal. Version 0.2.1 via Homebrew; verified 2026-05-17. Also installable with nix: nix profile install nixpkgs#clock-rs.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install clock-rs
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:clock-rs
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/clock-rs>
- **Version:** 0.2.1
- **Source summary:** Modern, digital clock that effortlessly runs in your terminal
- **Homepage:** <https://github.com/Oughie/clock-rs>
- **Repository:** <https://github.com/Oughie/clock-rs>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/Oughie/clock-rs/archive/refs/tags/v0.2.1.tar.gz>
- **Last updated:** 2026-05-17T06:51:56Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- clock-rs (cli)
- clock-rs (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.2.1
- Package-manager updated: 2026-05-17
- Local data: ok
- Upstream repository: https://github.com/Oughie/clock-rs
- Upstream latest detected: v0.2.1 (current)
## Project history and usage

clock-rs is a Rust terminal clock with timer and stopwatch modes, TOML configuration, shell completions, and package-manager distribution.

### Project history

The official README describes clock-rs as a modern terminal-based Rust clock and a new alternative to tty-clock, adding a single configuration file and command-line overrides.

### Adoption history

The README documents installation through Cargo, Homebrew, Arch AUR, NetBSD pkgsrc, and Nixpkgs, showing adoption across several package-manager ecosystems.

### How it is used

Users run `clock-rs` for the default clock, or subcommands such as `timer` and `stopwatch`. Settings can live in `conf.toml` and be overridden by command-line options.

### Why package nerds care

clock-rs is a good example of a polished Rust CLI moving through multiple packaging channels while keeping configuration simple and cross-platform.

### Timeline

- 2024: README copyright year for the clock-rs project.
- 2026-05-16: GitHub releases page lists clock-rs v0.2.1 as latest in the opened repository metadata.

### Related projects

- The README explicitly calls clock-rs an alternative to tty-clock.

### Sources

- Official GitHub README: introduction, installation methods, usage, configuration paths, and relation to tty-clock.
- Official GitHub repository metadata: latest release information displayed on the repository page.


## Security Notes

No matching local secret-handling manifest was found for clock-rs. Package metadata is still published here so future coverage has a stable package 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/clock-rs/conf.toml
- macOS: ~/Library/Application Support/clock-rs/conf.toml
- Windows: C:\Users\%USERNAME%\AppData\Local\clock-rs\conf.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** clock-rs
- **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

- Nix - clock-rs: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clock-rs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [ekphos](https://pkg.so/brew/ekphos/) - Shares pkgdb curated category or tags: cli, productivity, rust, terminal, tui.
- [arttime](https://pkg.so/brew/arttime/) - Shares pkgdb curated category or tags: cli, clock, productivity, terminal, timer.
- [gotz](https://pkg.so/brew/gotz/) - Shares pkgdb curated category or tags: cli, productivity, terminal, time.
- [sheets](https://pkg.so/brew/sheets/) - Shares pkgdb curated category or tags: cli, productivity, terminal, tui.
- [yazi](https://pkg.so/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, rust, terminal, tui.
- [byobu](https://pkg.so/brew/byobu/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [sc-im](https://pkg.so/brew/sc-im/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [elio](https://pkg.so/brew/elio/) - Shares pkgdb curated category or tags: cli, productivity, rust, terminal, tui.
- [ox](https://pkg.so/brew/ox/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, productivity, runs, rust, terminal.

## Combined YAML source

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


## Sources

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