Check the weather from the command line

This video tutorial will show you how to retrieve the weather via the command line using curl and the website https://wttr.in/

  • https://wttr.in/
  • https://github.com/chubin/wttr.in

To retrieve the weather type the following at your command line:
curl wttr.in

To add as an alias:

  1. sudo vim .bashrc
  2. alias wtr='curl wttr.in'
  3. source .bashrc

Posted

in

by

Tags: