# 使用 Homebrew, Nix 安装 clock-rs

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## 软件包事实

- **软件包键:** brew:clock-rs
- **软件包管理器:** Homebrew
- **版本:** 0.2.1
- **来源摘要:** Modern, digital clock that effortlessly runs in your terminal
- **主页:** <https://github.com/Oughie/clock-rs>
- **仓库:** <https://github.com/Oughie/clock-rs>
- **最后更新:** 2026-05-17T06:51:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- clock-rs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

### 项目历史

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.

### 采用历史

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

### 使用方式

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.

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

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

### 时间线

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

### 来源

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


## 安全说明

没有找到 clock-rs 的匹配本地密钥处理 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/clock-rs/conf.toml
- macOS: ~/Library/Application Support/clock-rs/conf.toml
- Windows: C:\Users\%USERNAME%\AppData\Local\clock-rs\conf.toml
## 其他软件包管理器记录

- 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


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


## 来源

- 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
