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 ----------------