Download a file from a URL on Mac with curl
Grab any file from the web straight into the current folder — no browser needed.
01Command
$ curl -L -O https://example.com/big-file.zip02What it does
curl ships with every Mac. -O writes the response to a file named after the remote file, -L follows redirects (needed for most CDN and release links), and -o name lets you pick a different name. Resume an interrupted download with curl -L -C - -O URL. For parallel or heavy downloads, aria2 or wget (via Homebrew) add features curl lacks, but for one-off files curl is already there.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- macOS curl command referenceEvidence: curl -O saves the output under the remote file's own name; -L follows redirects.
Last verified: 2026-09-16 · Category: Network
06Related solutions
Point macOS screen captures at any folder you choose instead of the desktop.
List the biggest files in your home folder that are eating disk space.
Power-cycle the Wi-Fi interface to fix dropouts and stuck connections — no reboot needed.