AnsiWeather is a shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols.
The script retrieves its data from the OpenWeatherMap free weather API.
The software is released under an open source license.
Key Features
- Specify the location. Location format is city,CC where CC is a two-letter ISO 3166-1 alpha-2 country code.
- Choose between metric or imperial units.
- Toggle the forecast mode for five or a specified number (up to 7) of upcoming days.
- Toggle ANSI colors.
- Toggle symbols.
- Toggle wind data, humidity data, pressure data, UV index, wind data, daylight data.
- Cross-platform support – runs under Linux, OpenBSD, NetBSD, FreeBSD, Smart OS, and Mac OS X.
Website: github.com/fcambus/ansiweather
Support:
Developer: Frederic Cambus
License: BSD 2-Clause “Simplified” License
AnsiWeather requires the following dependencies:
- A command to fetch HTTP data such as FTP, cURL or wget.
- jq (lightweight and flexible command-line JSON processor).
- bc (arbitrary precision numeric processing language), for doing float arithmetic.

Related Software
| Terminal-Based Weather Tools | |
|---|---|
| wttr.in | Curl the weather |
| Wego | ASCII weather app for the terminal written in Go |
| AnsiWeather | Current weather conditions in your terminal |
| girouette | Sources its data from OpenWeather |
| wthrr | Weather companion for the terminal |
| weather | Quick access to current weather conditions and forecasts |
| tempy | Visually pleasing weather report |
| stormy | neofetch-like weather CLI |
| rainy | neofetch-like, minimalistic, and customizable weather-fetching tool |
| wevva | Terminal-based weather application built with Textua |
| weather-cli | Uses the Open-Meteo API |
| starlit | Minimal and customizable weather CLI |
| outside | Multi-purpose weather client |
| metar | Weather report tool |
| rustormy | neofetch-like weather CLI |
| termrain | Combines detailed forecasts with an interactive rain radar |
| linecast | Weather, radar, solar and tide visualisations |
| terminal-weather | Animated terminal weather dashboard |
| weather | Go-based tool |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.