Change `sudo pip install` to `pip install --user`

You never need elevated permissions for pip. To install at the user level, use the `--user` flag.

There is too much wanton use of `sudo` online, we all need to collectively be more careful about the instructions we provide to users.

Thanks for this linter!
pull/99/head
Benjamin Rood 7 years ago committed by GitHub
parent 503bde9e70
commit 2f424e3444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,7 +54,7 @@ Alternatively using pip, the Python package manager:
.. code:: bash .. code:: bash
sudo pip install yamllint pip install --user yamllint
Usage Usage
^^^^^ ^^^^^

Loading…
Cancel
Save