mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-22 07:36:25 -06:00
docs: Simplify installation instruction in the README
This commit is contained in:
parent
f6a24552d9
commit
930c8eea94
32
README.rst
32
README.rst
@ -38,38 +38,16 @@ Screenshot
|
||||
Installation
|
||||
^^^^^^^^^^^^
|
||||
|
||||
On Fedora / CentOS (note: `EPEL <https://fedoraproject.org/wiki/EPEL>`_ is
|
||||
required on CentOS):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
sudo dnf install yamllint
|
||||
|
||||
On Debian 8+ / Ubuntu 16.04+:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
sudo apt-get install yamllint
|
||||
|
||||
On FreeBSD:
|
||||
|
||||
.. code:: sh
|
||||
|
||||
pkg install py27-yamllint
|
||||
pkg install py36-yamllint
|
||||
|
||||
On Mac OS 10.11+:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
brew install yamllint
|
||||
|
||||
Alternatively using pip, the Python package manager:
|
||||
Using pip, the Python package manager:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
pip install --user yamllint
|
||||
|
||||
yamllint is also packaged for all major operating systems, see installation
|
||||
examples (``dnf``, ``apt-get``...) `in the documentation
|
||||
<https://yamllint.readthedocs.io/en/stable/quickstart.html>`_.
|
||||
|
||||
Usage
|
||||
^^^^^
|
||||
|
||||
|
@ -4,7 +4,8 @@ Quickstart
|
||||
Installing yamllint
|
||||
-------------------
|
||||
|
||||
On Fedora / CentOS:
|
||||
On Fedora / CentOS (note: `EPEL <https://fedoraproject.org/wiki/EPEL>`_ is
|
||||
required on CentOS):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
@ -22,6 +23,12 @@ On Mac OS 10.11+:
|
||||
|
||||
brew install yamllint
|
||||
|
||||
On FreeBSD:
|
||||
|
||||
.. code:: sh
|
||||
|
||||
pkg install py36-yamllint
|
||||
|
||||
Alternatively using pip, the Python package manager:
|
||||
|
||||
.. code:: bash
|
||||
|
Loading…
Reference in New Issue
Block a user