# Install wego with Homebrew, apk, apt, Nix

Weather app for the terminal. Version 2.4 via Homebrew; verified 2026-04-12.

## Install

```sh
sudo av install brew:wego
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wego
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wego
```

  Evidence: Alpine Linux edge package indexes: wego from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install wego
```

  Evidence: Debian stable package indexes: wego from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#wego
```

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

## Package facts

- **Package key:** brew:wego
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wego>
- **Version:** 2.4
- **Source summary:** Weather app for the terminal
- **Homepage:** <https://github.com/schachmat/wego>
- **Repository:** <https://github.com/schachmat/wego>
- **Upstream docs:** <https://github.com/schachmat/wego#readme>
- **License:** ISC
- **Source archive:** <https://github.com/schachmat/wego/archive/refs/tags/2.4.tar.gz>
- **Last updated:** 2026-04-12T00:06:27Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- wego (cli)
- wego (alias)

## Build dependencies

- go

## 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-07-08
- Package-manager version: 2.4
- Package-manager updated: 2026-04-12
- Local data: ok
- Upstream repository: https://github.com/schachmat/wego
- Upstream latest detected: 2.4 (current)
## Project history and usage

wego is a Go terminal weather client by Markus Teich. It renders current and forecast weather in terminal-friendly formats, including ASCII-art tables, emoji, Markdown, and JSON, using configurable weather-data backends.

### Project history

The GitHub repository was created in November 2014. In January 2015, Teich announced wego on the wmii/suckless development mailing list, explaining that he wrote it because he was tired of fetching large web pages, scripts, and images just to get a weather forecast.

The project stayed close to that origin: a small command-line weather report for people already living in the terminal. Later README features show a broadened backend and frontend model, with OpenWeatherMap, WeatherAPI, Open-Meteo, SMHI, Caiyun, WorldWeatherOnline, Pirate Weather, JSON input, cache TTL, multilingual forecasts, unit systems, and built-in man-page support.

### Adoption history

wego became known in the terminal-productivity niche rather than as a general weather app. A 2020 Opensource.com article presented it as a way to quickly fetch local weather from the command line and noted JSON and emoji output as useful alternatives to the default display.

Its adoption also leaked into adjacent tools: Opensource.com noted wttr.in as a web-based wrapper around wego, showing how a small CLI weather renderer became part of a broader command-line weather culture.

### How it is used

Users configure a backend, location, units, language, frontend, days, and API key where required, then run `wego` to print a forecast. The README describes forecasts from one to seven days and notes that Open-Meteo and SMHI are keyless backends while most other services require credentials.

In package-manager contexts, wego is typically installed for shell startup, status scripts, quick terminal checks, or JSON weather data in small automations. Its value is the terminal presentation and backend abstraction, not heavy meteorological analysis.

### Why package nerds care

wego is significant as a classic terminal lifestyle package: tiny, scriptable, configurable, and friendly to people who want useful daily information without leaving the shell.

### Timeline

- 2014-11: GitHub repository created.
- 2015-01: Author announced wego on the wmii/suckless development mailing list.
- 2016-03: Version 2.0 release published.
- 2020-01: Opensource.com covered wego as a terminal productivity tool.
- 2026-04: Version 2.4 release published.

### Related projects

- wego is related to terminal weather tools such as wttr.in and older shell scripts around weather APIs. Its distinguishing feature is packaged Go distribution with multiple backends and multiple output frontends.

### Sources

- <https://api.github.com/repos/schachmat/wego>
- <https://api.github.com/repos/schachmat/wego/releases?per_page=5>
- <https://github.com/schachmat/wego>
- <https://groups.google.com/g/wmii/c/nQKFzG-crO0>
- <https://opensource.com/article/20/1/open-source-weather-forecast>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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

- Unix: $WEGORC, $XDG_CONFIG_HOME/wego/wegorc, ~/.wegorc

## Credential files

- Unix: $WEGORC, $XDG_CONFIG_HOME/wego/wegorc, ~/.wegorc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wego
- **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 - wego - 2.3-2+b6: normalized package name match | Debian stable package indexes: wego from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | weather client for the terminal | https://github.com/schachmat/wego
- Nix - wego: normalized package name match | nixpkgs package indexes: pkgs/by-name/we/wego/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - wego - 2.4-r1: normalized package name match | Alpine Linux edge package indexes: wego from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A weather app for the terminal | https://github.com/schachmat/wego
- apk - wego-doc - 2.4-r1: normalized package name match | Alpine Linux edge package indexes: wego-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A weather app for the terminal (documentation) | https://github.com/schachmat/wego


## 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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [stormy](https://www.automicvault.com/pkg/brew/stormy/) - Shares av.db curated category or tags: cli, productivity, terminal, weather.
- [wthrr](https://www.automicvault.com/pkg/brew/wthrr/) - Shares av.db curated category or tags: cli, productivity, terminal, weather.
- [byobu](https://www.automicvault.com/pkg/brew/byobu/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [cbonsai](https://www.automicvault.com/pkg/brew/cbonsai/) - 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.
- [nvimpager](https://www.automicvault.com/pkg/brew/nvimpager/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [page](https://www.automicvault.com/pkg/brew/page/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [sc-im](https://www.automicvault.com/pkg/brew/sc-im/) - Shares av.db curated category or tags: cli, productivity, terminal.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
