Get Weather Forecast from the Command Line with

Dmitri Popov

Productivity Sauce

May 20, 2016 GMT
Dmitri Popov

Of all the weather forecast applications and tools I have tried and reviewed over the years, is probably the most ingenuous and useful one. There are several reasons for that. First of all, requires no installation, nor does it need a dedicated client. You can use the good old cURL tool to fetch the current weather forecast by simply running the curl command.

This gives you a quasi-graphical 3-day weather forecast right in the terminal. Needless to say, the sheer convenience of this approach makes a great tool for users who spend a significant part of their daily computing in the terminal. Need to check the weather in another city? No problem, just run the curl command, for example: curl supports not only city name but also 3-letter airport codes, and you can even use IP addresses and domain names to get the weather forecast for alternate locations. The code that powers is available on GitHub, so you can roll out a self-hosted instance if you are so inclined.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More