-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Installation
mxx kee edited this page May 13, 2024
·
24 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 thefuck
brew install thefuck
or
sudo easy_install thefuck
or
sudo port install thefuck
❗ Do not use sudo easy_install pip
, it does not work on Ubuntu.
sudo apt install thefuck
# or to get the newest version
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefuck
sudo pacman -S thefuck
sudo dnf install thefuck
# or to get the newest version
sudo dnf install python-pip python-devel
sudo pip install thefuck
sudo emerge --ask app-shells/thefuck
sudo zypper in python3 python3-devel
sudo pip install thefuck
sudo 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";
};