Skip to content

Comment on Weather from the Command Line

Comments

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"

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.