The Fuck
Magnificent terminal app which corrects errors in your previous console commands.
Why consider The Fuck?
The Fuck is an open-source terminal utility written in Python by Vladimir Iakovlev. When a shell command fails due to typos, missing permissions, or wrong syntax, running the command automatically inspects previous command output, matches regex correction rules, and executes the fixed command.
Learn The Fuck by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of The Fuck
The Fuck automatically fixes typos and forgotten flags in previous console commands with a single keystroke.
Quickstart
# Install via pip, brew, or aptpip install thefuckeval $(thefuck --alias)The Fuck is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.