What's the best way to download a file from the command line? or How do I download a file from the co

20 Replies, 1958 Views

If you’re on Mac and prefer something with a progress bar, `curl` + `pv` is a fun combo:

```bash
curl -s https://example.com/file.zip | pv -s 100M > file.zip
```

`pv` shows progress, but you’ll need to install it first (`brew install pv`).



Users browsing this thread: 1 Guest(s)