HOWTO: Download a File from the Command Line Using Curl Download a file off of Github NOTE: You can view the raw contents of a file by clicking on the Raw button that appears above the file view. curl -Lo <filename> https://raw.githubusercontent.com/path/to/file