The wttr.in is a weather forecast service that allows to view the weather forecast via command line. You don't need to install wttr.in in your system. All you need to have HTTP client such as Curl or Wget.
This tutorial explains how to check weather forecast using wttr.in in Linux.
You can view weather forecast from a command line using curl
command as follows:
curl wttr.in
If you don't have curl
installed in your system, you can use wget
command:
wget -qO- wttr.in
The wttr.in tries to guess location based on your IP address.
You can get weather forecast for a specific location as well. Specify the location in the URL as follows:
curl wttr.in/New+York
Using wget
command:
wget -qO- wttr.in/New+York
Leave a Comment
Cancel reply