Use `--user` with pip, not `sudo pip`
`sudo` with `pip` is [considered unsafe](https://stackoverflow.com/a/22517157/2469559). Instead, run such commands with the `--user` argument to get the same result _safely._
This commit is contained in:
parent
51e4e87280
commit
c719712b62
|
|
@ -124,7 +124,7 @@ On Ubuntu / Mint, install *The Fuck* with the following commands:
|
|||
```bash
|
||||
sudo apt update
|
||||
sudo apt install python3-dev python3-pip python3-setuptools
|
||||
sudo pip3 install thefuck
|
||||
pip3 install thefuck --user
|
||||
```
|
||||
|
||||
On FreeBSD, install *The Fuck* with the following commands:
|
||||
|
|
|
|||
Loading…
Reference in New Issue