Check Weather From Terminal Using wttr

1 min


Now you can check weather right from the terminal for your city.

We all check weather to maintain our daily routines. There are many apps available in Linux for weather update, such as GIS Weather, My Weather Indicator etc. However, there is this command line utility available for Ubuntu, Linux systems which can give you weather predictions in terminal itself. It is called wttr.

wttr

No installation is required! All you need to do is run below set of commands (any one of them) as per your needs and weather forecast is available in the terminal itself.

The utility takes the location as input e.g. newyork, newdelhi. However it is intelligent enough to determine weather using IP address if you don’t specify a location.

Just type below to get an weather update for your current location:

curl wttr.in

If you want to specify a city such as newyork, type below command:

curl wttr.in/newyork

That’s not all. if you are travelling and want to check airport weather, you can type three letter airport code as below. Cool! Below command would show the Munich Airport weather.

curl wttr.in/muc

Even, you can check the weather of the IP addresses of the domains using @ as prefix:

curl wttr.in/@github.com

To know more details, you can visit the wttr website. Also you can report bugs and follow developments @ GitHub

 


We bring the latest tech, software news and stuff that matters. Stay in touch via Telegram, Twitter, YouTube, and Facebook and never miss an update!

Join our Telegram channel and stay informed on the move.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.


Arindam

Creator of debugpoint.com. All time Linux user and open-source supporter. Connect with me via Telegram, Twitter, LinkedIn, or send us an email.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x