# 使用 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
- **版本:** 1.2.1
- **来源摘要:** Weather Companion for the Terminal
- **主页:** <https://github.com/ttytm/wthrr-the-weathercrab>
- **仓库:** <https://github.com/ttytm/wthrr-the-weathercrab>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wthrr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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


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