cheat sheets
Developer Cheat Sheets: The Best Free Coding References
A curated directory of free coding cheat sheets for languages, front end, back end, databases, DevOps, editors and more, plus the command-line and offline tools that put a cheat sheet one keystroke away. Every link was opened and checked.
Nobody memorizes every flag, method signature and keyboard shortcut. Experienced developers know where to look, and they look quickly. A good cheat sheet is the fastest way to get the answer without breaking your focus: it is shorter than the documentation, more reliable than a search result, and organized around the things people actually forget. This hub organizes the best free coding cheat sheets by topic. Each topic page is a short, curated set of references with notes on when to use each one, rather than an endless list. Below the topics you'll find the tools that bring cheat sheets into your terminal or work offline, and a short guide to making your own, which is often the best cheat sheet of all.
01 · CODE & WEB
Languages and the web
Syntax and framework references for writing code.
02 · DATA
Databases, data and theory
Querying, wrangling, and the CS fundamentals for interviews.
03 · ENVIRONMENT
Platforms, editors and tools
The commands and shortcuts for where you actually work.
04 · SPECIALIZED
Media, security and more
The references for specific crafts, and the catch-all collections.
- Media & Graphics →FFmpeg and ImageMagick, the command-line workhorses for audio, video and images.2 references
- Security →The OWASP Cheat Sheet Series, Nmap, and regex.3 references
- Project Management →The Scrum Guide, Markdown, and Git for collaboration.3 references
- The Everything Sheets →cheat.sh, Devhints, QuickRef, and Learn X in Y Minutes: the universal collections.4 collections
05 · PICK A FORMAT
Web, terminal or offline: which cheat sheet tool fits
The best cheat sheet is the one you can reach without leaving what you're doing. If you live in the terminal, a command-line tool beats a browser tab. If you work on flights or locked-down networks, you need something offline. Match the tool to where you work.
| You work mostly in… | Use | Why |
|---|---|---|
| The terminal | tldr or cheat.sh | Short, example-first help for a command without opening a browser |
| A browser, across many tools | Devhints or QuickRef | One-page references for hundreds of tools and languages |
| A new language | Learn X in Y Minutes | A quick, community-written tour of a language's syntax |
| Full docs, sometimes offline | DevDocs, Zeal or Dash | Searchable official documentation in one place |
- tldr pages ↗Community-written, example-first help pages for console commands, a friendlier companion to man pages. MIT licensed.tldr.sh
- cheat.sh ↗Cheat sheets for commands and programming languages, readable in a browser or straight from the terminal.cheat.sh
- Devhints ↗Concise one-page references for developer tools, frameworks and languages.devhints.io
- Learn X in Y Minutes ↗Community-driven whirlwind tours of programming languages, one language at a time.learnxinyminutes.com
- DevDocs ↗Many API documentation sets in one fast, searchable interface. Free and open source.devdocs.io
- Zeal ↗An offline documentation browser for Windows and Linux that uses docsets provided by Dash.zealdocs.org
- Dash ↗A documentation browser and snippet manager for macOS, with offline documentation sets and cheat sheets.kapeli.com
06 · USE THEM WELL
How to get the most from a cheat sheet
Cheat sheets are for recall, not for learning something from scratch. Use one when you know a concept but have forgotten its exact spelling, such as a flag, an argument order or a shortcut. If you find yourself reading a cheat sheet top to bottom to understand an idea, switch to the full documentation or a tutorial instead, and come back to the cheat sheet once the concept makes sense.
--version, or look for a version note on the sheet itself.git reset --hard, rm -rf or a database DROP appear on many cheat sheets without much warning. Read what each part does before you run it, especially on a shared branch or a production system.07 · TRY IT
Make your own one-page cheat sheet
The cheat sheet you write yourself is the one you'll actually use, because it contains exactly what you keep forgetting and nothing you already know.
08 · FAQ
Frequently asked questions
What is the best cheat sheet site for developers?
It depends on where you work. Devhints and QuickRef are good one-page references in the browser, tldr and cheat.sh bring examples into the terminal, and DevDocs gathers many documentation sets in one searchable place.
Are coding cheat sheets good for learning?
They are best for recall rather than first learning. Use tutorials and documentation to understand a concept, then use a cheat sheet to look up the exact syntax once you know what you want to do.
What is Dash?
Dash is a documentation browser and snippet manager from Kapeli that gives you offline, searchable documentation and cheat sheets. Zeal is a separate offline documentation browser for Windows and Linux that uses Dash's docsets.
Can I get cheat sheets in the terminal?
Yes. The tldr pages project gives short, example-first help for console commands, and cheat.sh serves cheat sheets for commands and programming languages that you can read straight from the terminal.