# 使用 Homebrew, Nix 安装 wthrr

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

## 安装

```sh
sudo av install brew:wthrr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wthrr
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#wthrr
```

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

## 软件包事实

- **软件包键:** brew:wthrr
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wthrr>
- **版本:** 1.2.1
- **来源摘要:** Weather Companion for the Terminal
- **主页:** <https://github.com/ttytm/wthrr-the-weathercrab>
- **仓库:** <https://github.com/ttytm/wthrr-the-weathercrab>
- **许可证:** MIT
- **源码归档:** <https://github.com/ttytm/wthrr-the-weathercrab/archive/refs/tags/v1.2.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wthrr (cli)
- wthrr (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

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

wthrr, branded upstream as wthrr-the-weathercrab, is a Rust terminal weather companion. It displays current weather, forecasts, historical weather requests, units, language settings, and styled terminal output while using Open-Meteo as its weather data source.

### 项目历史

The project appeared on crates.io in 2022-08-13, with the crate description `Weather companion for the terminal`. Its README presents the tool as a TUI-first weather companion that can run with no arguments, accept an address, auto-detect a nearby weather station, or save defaults to a RON config file.

The 1.0.0 release arrived on crates.io on 2023-03-18 after release-candidate builds in March 2023. Later 1.x releases added and refined features around forecasts, display, localization, config handling, and packaging; the GitHub release page for 1.2.1 notes dependency updates, Homebrew installation support, and a Unicode-width border fix.

### 采用历史

wthrr's adoption is modest but visible in the Rust CLI niche. The crates.io API reported more than 40,000 total downloads as of this enrichment run, and the README points users to crates.io, git source installation, and platform-specific installation instructions.

The tool appeals to terminal users who want richer weather output than a minimal curl-to-weather service but do not want a full desktop or browser app. Its screenshots and README emphasize terminal colors, Nerd Font symbols, hourly and weekly forecasts, and saved per-user defaults.

### 使用方式

The simplest command is `wthrr`, which uses saved defaults or tries to find a nearby station; users can pass an address such as `wthrr melbourne`, specify units like Fahrenheit and mph, request forecasts, or ask for historical weather dates with `-F`.

Configuration is saved in `wthrr.ron` under platform-specific app config directories. The README documents defaults for address, language, forecast display, units, border style, graph style, color mode, and greeting behavior.

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

wthrr is a small but polished example of the Rust terminal-app ecosystem: a single-purpose CLI with a themed identity, structured config, Unicode-heavy TUI presentation, and an external open-data weather API rather than a bundled data source.

### 时间线

- 2022-08-13: The wthrr crate was created on crates.io.
- 2023-03-12: crates.io recorded the 1.0.0 release-candidate line.
- 2023-03-18: crates.io recorded wthrr 1.0.0.
- 2024-06-13: crates.io recorded wthrr 1.2.0.
- 2024-10-04: crates.io recorded wthrr 1.2.1.

### Related projects

- Open-Meteo is credited by the README as the weather API used by the app.
- The Rust crates.io package is the primary language-registry distribution surface for the project.

### 来源

- <https://crates.io/api/v1/crates/wthrr>
- <https://github.com/ttytm/wthrr-the-weathercrab#readme>
- <https://github.com/ttytm/wthrr-the-weathercrab/releases>
- <https://open-meteo.com/en>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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/weathercrab/wthrr.ron
- macOS: ~/Library/Application Support/weathercrab/wthrr.ron
- Windows: %USERPROFILE%\AppData\Roaming\weathercrab\wthrr.ron
## 源数据库详情

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

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

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


## 相关链接

- [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.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [wego](https://pkg.so/zh-hans/brew/wego/) - Shares pkgdb curated category or tags: cli, productivity, terminal, weather.
- [stormy](https://pkg.so/zh-hans/brew/stormy/) - Shares pkgdb curated category or tags: cli, productivity, terminal, weather.
- [tmux](https://pkg.so/zh-hans/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [vim](https://pkg.so/zh-hans/brew/vim/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [yazi](https://pkg.so/zh-hans/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [midnight-commander](https://pkg.so/zh-hans/brew/midnight-commander/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [mutt](https://pkg.so/zh-hans/brew/mutt/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [superfile](https://pkg.so/zh-hans/brew/superfile/) - Shares pkgdb curated category or tags: cli, productivity, terminal.
- [alot](https://pkg.so/zh-hans/brew/alot/) - Local package facts share a topical domain. Shared terms: cli, productivity, terminal.

## Combined YAML source

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


## 来源

- 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
