wttr.in is a free and open source terminal based weather forecast application. It comes with ANSI-sequences for console HTTP clients support, HTML for web browsers, or PNG for graphical viewers. It is written in python and Go and released under Apache License 2.0.
Check Weather Forecast from Command line
Open the terminal app using ctrl+alt+t keys and run below command. It will automatically detect your location based on your ip and show the current and complete weather forecast.
curl wttr.in
If you want to get the weather information for a specific location, then add the city name like below the command.
curl wttr.in/Houston
Examples:
curl wttr.in/Salt+Lake+City
curl wttr.in/New+Delhi
curl wttr.in/Liverpool
You can also get weather forecast of Airport using 3 letter airport code.
Example: Get weather for Munich International Airport, Germany
curl wttr.in/muc
Also get special location and mountain weather like below. Just add ~ before the name.
{code]curl wttr.in/~Eiffel+Tower