Over the past few months, I’ve been using a handy API to quickly check the weather right from the command line. It’s incredibly straightforward to us just type:

curl wttr.in

By default, it displays the weather for your current location, but you can also specify a different location or customize the output format.

wttr.io
wttr.io

My site is free of ads and trackers. Was this post helpful to you? Why not BuyMeACoffee


Reference:

  1. wttr