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.

We are speaking of the web service wttr. The format is:

$ curl wttr.in/your_location

but wttr is intelligent enough to detect your location from your IP. So the following work too:

$ curl wttr.in

The same commands with wget:

$ wget -qO- wttr.in
$ wget -qO- wttr.in/your_location


Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s