thefuck

Install command:
brew install thefuck

Programmatically correct mistyped console commands

https://github.com/nvbn/thefuck

License: MIT

Formula JSON API: /api/formula/thefuck.json

Formula code: thefuck.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 3.32
head ⚡️ HEAD

Depends on:

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

    eval $(thefuck --alias)

For other shells, check https://github.com/nvbn/thefuck/wiki/Shell-aliases

Analytics:

Installs (30 days)
thefuck 1,448
thefuck --HEAD 4
Installs on Request (30 days)
thefuck 1,447
thefuck --HEAD 4
Build Errors (30 days)
thefuck 9
Installs (90 days)
thefuck 4,646
thefuck --HEAD 11
Installs on Request (90 days)
thefuck 4,644
thefuck --HEAD 11
Installs (365 days)
thefuck 19,970
thefuck --HEAD 43
Installs on Request (365 days)
thefuck 19,966
thefuck --HEAD 43
Fork me on GitHub