Save over 40% when you secure your tickets today to TNW Conference 💥 Prices will increase on November 22 →

This article was published on February 19, 2016

Real geeks get their weather forecasts in the terminal


Real geeks get their weather forecasts in the terminal

If you’re a developer, you probably already spend a lot of your timing living in the terminal. Well, now there’s a live weather service you can call and it’ll draw the forecast for the week right in your terminal window.

Head over to terminal and paste in the following line, substituting the city name for wherever you want to check:

curl -4 http://wttr.in/Amsterdam

Screen Shot 2016-02-19 at 11.38.10 AM

Boom, you’ll get a beautifully ASCII-rendered forecast of the weather for the week. If you want to use it long term, Wttr.in is actually just an online frontend for the wego package, which can run locally on your machine to get the weather.

Take it to the next level and install wego on your machine, then drop ‘wego yourcityhere’ in your .profilerc file and you’ll get the latest weather every time you open the terminal.

Given that you can control your music player and even browse Reddit in the terminal, why would you ever leave?

Wttr.in

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with


Published
Back to top