nvbn/thefuck
Magnificent app which corrects your previous console command. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4165
- days_rel: n/a
- days_push: 775
- n_releases_24m: 0
Adoption not part of the score
97744 stars · 3959 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The Fuck is a Python-based command-line app that automatically corrects errors in your previous console command. When you type 'fuck' after a failed command, it suggests and runs a corrected version based on matching rules.
Use cases
- fix typos in shell commands like 'puthon' instead of 'python'
- prepend sudo to commands that failed with permission errors
- add missing git flags like --set-upstream after a failed push
- correct misspelled subcommands in tools like git or lein
- automatically fix common command-line mistakes without retyping
When to choose
- you frequently make typos or forget flags in terminal commands
- you want a shell-agnostic tool that works with bash, zsh, fish, and more
- you want an extensible tool with custom rules and third-party rule packages
When to avoid
- you need a Windows-native shell experience (it targets macOS and Linux)
- you are uncomfortable with tools that can rerun commands automatically
- you prefer minimal shell setups without extra hooks or aliases
Facets
cli-tool · maturity maintenance
cli developer-tools developer-tools python cli shell-correction command-line-productivity typo-fixing command-line automation linux macos
2 sources
- readme: https://github.com/nvbn/thefuck · fetched 2026-08-28 · 8b679792dc63
- registry_pypi: https://pypi.org/pypi/thefuck/json · fetched 2026-08-28 · ab6563ca3a52
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nvbn/thefuck | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem