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 big sur
high sierra
Apple Silicon big sur

Current versions:

stable 3.30
head ⚡️ HEAD

Revision: 1

Depends on:

python@3.9 3.9.4 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 3,302
thefuck --HEAD 1
Installs on Request (30 days)
thefuck 3,296
thefuck --HEAD 1
Build Errors (30 days)
thefuck 0
Installs (90 days)
thefuck 11,808
thefuck --HEAD 4
Installs on Request (90 days)
thefuck 11,798
thefuck --HEAD 4
Installs (365 days)
thefuck 60,536
thefuck --HEAD 23
Installs on Request (365 days)
thefuck 59,759
thefuck --HEAD 23
Fork me on GitHub