mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-22 07:36:25 -06:00
docs: Remove sudo from pip installation instructions
This commit is contained in:
parent
51c30505b5
commit
203cfc20f0
@ -60,7 +60,7 @@ Alternatively using pip, the Python package manager:
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
sudo pip install yamllint
|
pip install --user yamllint
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
^^^^^
|
^^^^^
|
||||||
|
@ -26,14 +26,14 @@ Alternatively using pip, the Python package manager:
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
sudo pip install yamllint
|
pip install --user yamllint
|
||||||
|
|
||||||
If you prefer installing from source, you can run, from the source directory:
|
If you prefer installing from source, you can run, from the source directory:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
sudo pip install dist/yamllint-*.tar.gz
|
pip install --user dist/yamllint-*.tar.gz
|
||||||
|
|
||||||
Running yamllint
|
Running yamllint
|
||||||
----------------
|
----------------
|
||||||
|
Loading…
Reference in New Issue
Block a user