Skip to content

Commit

Permalink
docs: Remove sudo from pip installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienverge committed May 9, 2018
1 parent 51c3050 commit 203cfc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Alternatively using pip, the Python package manager:

.. code:: bash
sudo pip install yamllint
pip install --user yamllint
Usage
^^^^^
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------
Expand Down

0 comments on commit 203cfc2

Please sign in to comment.