Skip to content
C. Michael Murphey edited this page Jan 2, 2017 · 27 revisions

Generic way

You need to install requirements:

  • pip
  • python
  • python-dev (or python-devel on some distros: Fedora, CentOS)

And then install thefuck with pip:

sudo -H pip install thefuck

OS X

brew install thefuck

or

sudo easy_install thefuck

Ubuntu

❗ Do not use sudo easy_install pip, it does not work on Ubuntu.

sudo apt-get install python-pip python-dev
sudo pip install psutil thefuck

Arch

sudo pacman -S thefuck

Fedora

sudo dnf install python-pip python-devel
sudo pip install thefuck

Gentoo

sudo emerge --ask app-shells/thefuck

Void Linux

sudo xbps-install thefuck

fuck is available!

Clone this wiki locally