Use the curl or wget commands to download a file from the Internet without leaving the terminal. If you’re using curl, type curl -O followed by the path to the file.
wget users can use wget without any options.. The file will appear in the current directory.
curl -O website.com/file wget website.com/file