TheFuck v4.1 for Python 3.12 / 3.13 (2026-02-22 20:35 UTC) (x86_64) (GNU/Linux)
Changelog
- Full compatibility with Python 3.12 and Python 3.13
- Tested with Python 3.12.3 and Python 3.13 on Pop!_OS 24.04 LTS (Pop!_OS GNU/Linux LTS Kernel) and ArchLinux (Zen Kernel)
- Various bug fixes
- ...
Planned
- Windows, macOS, ChromeOS and BSD compatibility (Windows is already implemented, but not tested yet)
- Prebuilt packages for various operating system
- Python 3.14 full compatibility
- Binaries for other CPU architectures
- More rules
- Random improvements
- Snap package? Why not... (Canonical, if you are reading this, make your junk open-source, please...)
- Automatically add
fuckalias after install (how am I gonna do that T-T) - Make working binaries
- ...
Files
thefuck4.1-x86_64-py3.12.tgzcurrent source code (GZipped Tarball)thefuck4.1-x86_64-py3.12.zipcurrent source code (Zip)
Notes
- You need to manually add the alias to your shell's config
- Expect some bugs, please report them in issues
Adding the alias to your shell's config
Bash
Add this line to ~/.bashrc (or /etc/bash.bashrc if you need system-wide):
eval "$(thefuck --alias)"Then reload the shell:
source ~/.bashrcZsh
Add to ~/.zshrc:
eval "$(thefuck --alias)"Reload:
source ~/.zshrcFish
Fish uses a different syntax, add to ~/.config/fish/config.fish:
thefuck --alias | sourceReload:
source ~/.config/fish/config.fishTcsh / Csh
Add to ~/.cshrc or ~/.tcshrc:
eval `thefuck --alias`Reload:
source ~/.cshrcDash / sh
shordashare minimal and don’t support shell functions very well- You can only call
thefuckdirectly as a command:
alias fuck='thefuck THEFUCK_ARGUMENT_PLACEHOLDER'Add it to ~/.profile or ~/.shrc if you have one
(I didn't have time to test all of these, sorry! I'll do it on next release.)