Install command:
brew install thefuck

Programmatically correct mistyped console commands

License: MIT

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

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

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel big sur
64-bit linux
ARM64 big sur

Current versions:

stable 3.31
head ⚡️ HEAD

Revision: 1

Depends on:

python@3.10 3.10.0 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 204
Installs on Request (30 days)
thefuck 204
Build Errors (30 days)
thefuck 0
Installs (90 days)
thefuck 453
Installs on Request (90 days)
thefuck 452
Installs (365 days)
thefuck 1,838
thefuck --HEAD 1
Installs on Request (365 days)
thefuck 1,839
thefuck --HEAD 1
Fork me on GitHub