Tools

curl Cheat Sheet

Print-ready cheat sheet for curl, organized for fast lookup, study, and desk-side use

Source
curl Documentation (curl.se/docs)
License
MIT
Variants
3 download options
Updated
2026-03-27

Sample

What's in this cheat sheet

Simple Requests

curl https://example.com          # GET request
curl -o file.html https://url     # save to file
curl -O https://url/file.tar.gz   # save with remote name
curl -L https://url               # follow redirects

Common Flags

-sSilent mode (no progress)
-SShow errors in silent mode
-fFail silently on HTTP errors
-LFollow redirects
-o fileWrite output to file
-OSave with remote filename
-C -Resume interrupted download
--max-time 30Timeout after 30 seconds

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read

Text formats

Copy or download as plain text

Download Markdown

Best for copying commands, snippets, and config into notes, prompts, or docs

Download Markdown

Preview

The web preview is for quick browsing. The PDF remains the authoritative print artifact

Open in Browser