From 203cfc20f033f38b6d0ee94bddf2df250c9670c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Wed, 9 May 2018 20:20:18 +0200 Subject: [PATCH] docs: Remove sudo from pip installation instructions --- README.rst | 2 +- docs/quickstart.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 32360d1..7756abc 100644 --- a/README.rst +++ b/README.rst @@ -60,7 +60,7 @@ Alternatively using pip, the Python package manager: .. code:: bash - sudo pip install yamllint + pip install --user yamllint Usage ^^^^^ diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 68cf3d0..eee4a2e 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -26,14 +26,14 @@ Alternatively using pip, the Python package manager: .. code:: bash - sudo pip install yamllint + pip install --user yamllint If you prefer installing from source, you can run, from the source directory: .. code:: bash python setup.py sdist - sudo pip install dist/yamllint-*.tar.gz + pip install --user dist/yamllint-*.tar.gz Running yamllint ----------------