thefuck

Install command:
brew install thefuck

Programmatically correct mistyped console commands

https://github.com/nvbn/thefuck

License: MIT

Development: Pull requests

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

Formula code: thefuck.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate
tahoe
sequoia
Linux ARM64
x86_64

Current versions:

stable 3.32
head ⚡️ HEAD

Depends on:

python@3.14 3.14.7 Interpreted, interactive, object-oriented programming language

Binaries: fuck, thefuck

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:

30 days90 days365 days
Installs2831,80111,948
Installs (--HEAD)0011
Installs on Request2831,80011,946
Installs on Request (--HEAD)0011
Build Errors11