nvbn/thefuck
The Fuck is a command-line utility that automatically corrects previous shell commands by matching user input against a comprehensive set of correction rules. It integrates deeply with various Unix shells and Windows environments to capture command output and history, then suggests and executes corrected versions of mistyped or failed commands. The system supports a wide range of tools and package managers, providing a robust, cross-platform experience for fixing common command-line errors.
61.1
Adequate · 5 August 2026
5.2k
lines of production code
Python
primary language
3
bus factor · 200 authors in all
4
measurements over time
How it got here
2015 · Architecture refactoring and test coverage
The project underwent a major architectural restructuring, centralizing OS-specific logic and settings management while introducing a comprehensive test suite. This period focused on improving cross-platform compatibility for Windows and Linux, expanding correction rules, and ensuring code quality through extensive unit and functional testing.
9 changes
2016–2023 · Modular architecture and cross-platform support
The codebase underwent a significant refactoring to replace monolithic structures with a modular architecture for shell integration and command entry points. This period also introduced instant mode support for faster output retrieval and added Windows CMD and PowerShell scripts to extend cross-platform usability.
7 changes
Survey your own repository
nvbn/thefuck was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit c7e7e1d884 — the exact code this score is about.
- Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.