Install command:
brew install thefuck

Programmatically correct mistyped console commands

License: MIT

/api/formula/thefuck.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave, high sierra
Apple Silicon big sur

Current versions:

stable 3.30
head ⚡️ HEAD

Revision: 1

Depends on:

python@3.9 3.9.1 Interpreted, interactive, object-oriented programming language
Add the following to your .bash_profile, .bashrc or .zshrc:

    eval $(thefuck --alias)

For other shells, check


Installs (30 days)
thefuck 4,444
thefuck --HEAD 3
Installs on Request (30 days)
thefuck 4,438
thefuck --HEAD 3
Build Errors (30 days)
thefuck 0
Installs (90 days)
thefuck 22,429
thefuck --HEAD 7
Installs on Request (90 days)
thefuck 22,134
thefuck --HEAD 7
Installs (365 days)
thefuck 72,188
thefuck --HEAD 34
Installs on Request (365 days)
thefuck 70,556
thefuck --HEAD 34
Fork me on GitHub