Weather from the Command Line

by zoidbon 9/1/2024, 6:57 AMwith 1 comments

by reifyon 9/1/2024, 7:27 AM

wttr is my favourite

for me this is the most accurate for my local weather.

loads of settings though I just set up a simple alias

alias weather='curl wttr.in/London=?3M'

or not for a simple day weather output

curl wttr.in/London?format="Weather:+%C,+%t,+%h,+%w,+%W+%P\nTimezone:+%Z\nTime:+%T+|+Dawn:+%D+++|+Sunrise:+%S\nZenith:++%z+++|+Sunset:+%s+|+Dusk:+%d\nLocation:+London,+England\n"