-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Installation
92 edited this page Mar 14, 2025
·
27 revisions
You need to install requirements:
- pip
- python
- python-dev (or python-devel on some distros: Fedora, CentOS)
And then install thefuck with pip:
pip install --user thefuckbrew install thefuckor
sudo easy_install thefuckor
sudo port install thefuck❗ Do not use sudo easy_install pip, it does not work on Ubuntu.
Apt (easier):
sudo apt install thefuckPython (latest version):
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefucksudo pacman -S thefucksudo dnf install thefuck
# or to get the newest version
sudo dnf install python-pip python-devel
sudo pip install thefucksudo emerge --ask app-shells/thefucksudo zypper in python3 python3-devel
sudo pip install thefucksudo xbps-install thefuck- my config is made with intended file
configuration.nix - this config is without flakes
# ...
environment.systemPackages [
# ...
# tba
thefuck # app which corrects your previous console command
];
programs.thefuck = {
enable = true;
alias = "fuck";
};