wego is a weather client for the terminal.

openweathermap, weatherapi, open-meteo, smhi, caiyun, worldweatheronline, pirateweather, and jsonascii-art-table (default), emoji, markdown, and jsonmetric, imperial, si, metric-ms--cache-ttl)wego --man)json backend and json frontendascii-art-table and emoji frontends)dejavu sans mono)open-meteo and smhi are free and keyless)Check your distribution for packaging:
To directly install or update the wego binary from Github into your $GOPATH as usual, run:
go install github.com/schachmat/wego@latest
wego once. You will get an error message, but the wegorc config file
will be generated in your $XDG_CONFIG_HOME/wego/ directory (or the
OS-equivalent location returned by
os.UserConfigDir(), e.g.
~/.config/wego/wegorc on Linux).wego again.days, units and …-lang as
well. Save the file.wego once again and you should get the weather forecast for the current
and next few days for your chosen location.wego 4 London or wego London 4 (the ordering of arguments makes no difference) to
get the forecast for the current and the next 3 days.The config file is resolved in the following order:
$WEGORC environment variable (highest precedence).$XDG_CONFIG_HOME/wego/wegorc (or OS equivalent via os.UserConfigDir()), if it exists.$HOME/.wegorc (legacy location, for backward compatibility), if it exists.$XDG_CONFIG_HOME/wego/wegorc.Open-Meteo — free, no API key required:
backend=openmeteo
location=New York
SMHI — free, no API key required (Sweden and surrounding areas):
backend=smhi
location=59.33,18.07
Openweathermap — free API key available:
backend=openweathermap
location=New York
owm-api-key=YOUR_OPENWEATHERMAP_API_KEY_HERE
WeatherAPI — free API key available:
backend=weatherapi
location=New York
weather-api-key=YOUR_WEATHERAPI_API_KEY_HERE
Caiyun — API key required (China-focused, supports Chinese):
backend=caiyun
location=121.47,31.23
caiyun-api-key=YOUR_CAIYUN_API_KEY_HERE
Worldweatheronline — no longer offers free API keys (#83):
backend=worldweatheronline
location=New York
wwo-api-key=YOUR_WORLDWEATHERONLINE_API_KEY_HERE
Pirateweather — free API key available (requires lat,lon location):
backend=pirateweather.net
location=40.71,-74.01
pirateweather-api-key=YOUR_PIRATEWEATHER_API_KEY_HERE
JSON file — read weather data from a local JSON file (useful for testing or offline use):
backend=json
location=/path/to/weather.json
Select a frontend with the --frontend flag or by setting frontend=… in .wegorc.
| Frontend | Description |
|---|---|
ascii-art-table | Default. Classic colored ASCII art table. |
emoji | Compact emoji-based display. |
markdown | Markdown table output. |
json | JSON output, suitable for piping to other tools. |
Example: wego --frontend emoji London
Both ascii-art-table and emoji frontends display temperatures and wind
speeds in color by default. To disable colors:
--monochrome as a flag, or add it to .wegorc to make it permanent:
monochrome=true
NO_COLOR environment variable (see no-color.org)
to disable colors without changing the config:
NO_COLOR=1 wego
(top 24 of 57)
99 followers · starred Sep 2015
1,662 followers · starred Nov 2019
22,861 followers · starred May 2015
5,996 followers · starred May 2015
wego is a weather client for the terminal.

openweathermap, weatherapi, open-meteo, smhi, caiyun, worldweatheronline, pirateweather, and jsonascii-art-table (default), emoji, markdown, and jsonmetric, imperial, si, metric-ms--cache-ttl)wego --man)json backend and json frontendascii-art-table and emoji frontends)dejavu sans mono)open-meteo and smhi are free and keyless)Check your distribution for packaging:
To directly install or update the wego binary from Github into your $GOPATH as usual, run:
go install github.com/schachmat/wego@latest
wego once. You will get an error message, but the wegorc config file
will be generated in your $XDG_CONFIG_HOME/wego/ directory (or the
OS-equivalent location returned by
os.UserConfigDir(), e.g.
~/.config/wego/wegorc on Linux).wego again.days, units and …-lang as
well. Save the file.wego once again and you should get the weather forecast for the current
and next few days for your chosen location.wego 4 London or wego London 4 (the ordering of arguments makes no difference) to
get the forecast for the current and the next 3 days.The config file is resolved in the following order:
$WEGORC environment variable (highest precedence).$XDG_CONFIG_HOME/wego/wegorc (or OS equivalent via os.UserConfigDir()), if it exists.$HOME/.wegorc (legacy location, for backward compatibility), if it exists.$XDG_CONFIG_HOME/wego/wegorc.Open-Meteo — free, no API key required:
backend=openmeteo
location=New York
SMHI — free, no API key required (Sweden and surrounding areas):
backend=smhi
location=59.33,18.07
Openweathermap — free API key available:
backend=openweathermap
location=New York
owm-api-key=YOUR_OPENWEATHERMAP_API_KEY_HERE
WeatherAPI — free API key available:
backend=weatherapi
location=New York
weather-api-key=YOUR_WEATHERAPI_API_KEY_HERE
Caiyun — API key required (China-focused, supports Chinese):
backend=caiyun
location=121.47,31.23
caiyun-api-key=YOUR_CAIYUN_API_KEY_HERE
Worldweatheronline — no longer offers free API keys (#83):
backend=worldweatheronline
location=New York
wwo-api-key=YOUR_WORLDWEATHERONLINE_API_KEY_HERE
Pirateweather — free API key available (requires lat,lon location):
backend=pirateweather.net
location=40.71,-74.01
pirateweather-api-key=YOUR_PIRATEWEATHER_API_KEY_HERE
JSON file — read weather data from a local JSON file (useful for testing or offline use):
backend=json
location=/path/to/weather.json
Select a frontend with the --frontend flag or by setting frontend=… in .wegorc.
| Frontend | Description |
|---|---|
ascii-art-table | Default. Classic colored ASCII art table. |
emoji | Compact emoji-based display. |
markdown | Markdown table output. |
json | JSON output, suitable for piping to other tools. |
Example: wego --frontend emoji London
Both ascii-art-table and emoji frontends display temperatures and wind
speeds in color by default. To disable colors:
--monochrome as a flag, or add it to .wegorc to make it permanent:
monochrome=true
NO_COLOR environment variable (see no-color.org)
to disable colors without changing the config:
NO_COLOR=1 wego
(top 24 of 57)
99 followers · starred Sep 2015
1,662 followers · starred Nov 2019
22,861 followers · starred May 2015
5,996 followers · starred May 2015