wttr.in Command Line Weather Check

Checking Weather from Command Line with wttr.in

This article introduces how to check the weather from the command line using wttr.in.

Shou Arisaka
1 min read
Oct 30, 2025

This article introduces how to check the weather from the command line using wttr.in.

Image

curl http://wttr.in/kofu

It can be used without installation. The large number of stars probably comes from this low barrier to entry.

chubin/wttr.in: The right way to check the weather

If you’re going through a VPN or something, it will default to overseas or Tokyo, so you need to specify it with a directory. You can use omiya or kofu, so probably most other major cities will work. However, for minor cities, it’s questionable whether they’re available.

For checking the weather, if you search Google with something like Kofu weather, weather information will appear, showing hourly wind speed, precipitation probability, and temperature, and if you don’t need to do it from the CLI, this is more convenient. Since it’s not about inputting interactive information, but rather static information, I don’t think you need to look at it from the CLI, but this is just a report that I tried it out.

Share this article

Shou Arisaka Oct 30, 2025

🔗 Copy Links