Install command:
brew install thefuck

Programmatically correct mistyped console commands

License: MIT

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

/api/bottle/thefuck.json (Bottle JSON API)

Formula code on GitHub

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

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 3.31
head ⚡️ HEAD

Depends on:

python@3.9 3.9.7 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,766
Installs on Request (30 days)
thefuck 4,764
Build Errors (30 days)
thefuck 2
Installs (90 days)
thefuck 17,271
thefuck --HEAD 6
Installs on Request (90 days)
thefuck 17,253
thefuck --HEAD 6
Installs (365 days)
thefuck 68,906
thefuck --HEAD 24
Installs on Request (365 days)
thefuck 68,476
thefuck --HEAD 24
Fork me on GitHub