wttr: weather from the terminal


Many of us have the habit of checking the weather every now and then. There are excellent weather indicators, Typhoon or cmdline wego and weather-util. Turns out there’s another way to get the same (but static) wego output in the terminal. And that too without installing any utility other than your pre-installed download tools. Continue reading wttr: weather from the terminal

weather-util: weather from the console

weather-util_compIt’s advisable to check the weather forecast before going out on a long drive. If you need a gorgeous app to do that check out Typhoon. However, the ability to check the weather from the terminal is a bonus. We explored weatherman earlier but it is broken at the moment and needs a significant rewrite. Enter weather-util. Continue reading weather-util: weather from the console

weatherman: weather from Linux console

weather_compThe author must have named the tool intentionally after the 2005 Nicholas Cage movie. weatherman is a handy Linux shell script to get the weather of any location from the console. It fetches the data from WeatherBug. Console addicts like me should be overjoyed to find a tiny tool which can get the weather in a single command.


weatherman needs curl to work. It is very easy to use. You have to get the weatherman source code from GitHub. Run:

$ sudo apt-get install curl
$ git clone https://github.com/subrosa2/weatherman
$ cd weatherman
$ chmod +x weatherman


To get the weather of Paris, run

$ ./weatherman "Paris, France" //city, country
Current Conditions for Paris, France
Reported by American School of Paris (FRA) @ Apr 9, 2014 9:45 PM

Temp: 10 C
Today: Mostly Sunny
Tonight: Mostly Clear

High: 16 C Wind Speed: NW 0 Rain: 0.00mm
Low: 3 C Gust: S 19 Rain/Month: 0.25mm
Feels Like: 10 C Avg Wind: NW 0 Sunrise: 7:13 AM
Humidity: 67% Pressure: 1025.06mb Sunset: 8:33 PM
Dew Point: 4 C Moonphase: Waxing Gibbous

Data provided by WeatherBug.com

Use the -x switch for an extended forecast.

$ ./weatherman -x "Paris, France"
Extended Forecast for Paris, France

THU 18 C Mostly Sunny 5 C Mostly Clear
FRI 16 C Partly Cloudy 4 C Partly Cloudy
SAT 15 C Partly Cloudy 4 C Partly Cloudy
SUN 15 C Mostly Cloudy 5 C Mostly Cloudy
MON 16 C Partly Cloudy 5 C Mostly Cloudy
TUE 19 C Partly Cloudy 6 C Mostly Cloudy
WED 13 C Rain

Data provided by WeatherBug.com

Add an alias in your .bashrc and you can get the weather quickly anytime you need it.

Webpage: weatherman

inxi: fetch system information

inxi is a script that fetches the details of your system, specifically hardware for you. It is quite handy when you need to touch-base with your hardware.The options page extensively details on the numerous things that inxi can do. For simplifying the usage, the authors are working on a GUI as well, though the progress is admittedly slow.

Installation instructions on Ubuntu:

$ sudo apt-get install inxi

To get a list of full options, run:

$ man inxi

Besides showing system information, inxi can show you the weather too! Run:

$ inxi -xxxw

Webpage: inxi

Typhoon: weather app on Ubuntu


My desktop with Typhoon

This article was originally written on Stormcloud which now is a paid app. Typhoon is the free fork of Stormcloud.

I am not much into weather apps but the simplicity and beauty of this tiny weather app, Typhoon has taken me by surprise. Installed it in my laptop and planning to keep it for a while. Does it’s job well and adds a new dimension to the look and feel of your desktop!

To install on Ubuntu:

$ sudo add-apt-repository ppa:apandada1/typhoon
$ sudo apt-get update
$ sudo apt-get install typhoon

Webpage: Typhoon

My-Weather Indicator

Another way to integrate weather information on your desktop is My-Weather Indicator. When you click on the indicator icon it shows a lot of details (more than Typhoon) on the weather. To install on Ubuntu:

$ sudo add-apt-repository ppa:atareao/atareao
$ sudo apt-get update
$ sudo apt-get install my-weather-indicator