Skip to content

Commit 01be048

Browse files
akbakb
authored andcommitted
Promote installation instructions
1 parent bbfbe0b commit 01be048

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

README.rst

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,27 @@ Your favorite plumbing snake 🐍🔧 with your favorite pipes, right in your sh
1515
:target: https://codecov.io/gh/python-mario/mario
1616

1717

18+
Installation
19+
============
20+
21+
Get it with pip:
22+
23+
.. code-block:: bash
24+
25+
python3.7 -m pip install mario
26+
27+
If you're not inside a virtualenv, you might get a PermissionsError. In that case, try using:
28+
29+
.. code-block:: bash
30+
31+
python3.7 -m pip install --user mario
32+
33+
or for more flexibility and safety, use `pipx <https://github.com/pipxproject/pipx/>`_:
34+
35+
.. code-block::bash
36+
37+
pipx install --python python3.7 mario
38+
1839
Usage
1940
=====
2041

@@ -513,15 +534,6 @@ Plugins
513534
Add new commands like ``map`` and ``reduce`` by installing mario plugins. You can try them out without installing by adding them to any ``.py`` file in your ``~/.config/mario/modules/``.
514535
515536
516-
Installation
517-
============
518-
519-
Get it with pip:
520-
521-
.. code-block:: bash
522-
523-
python3.7 -m pip install mario
524-
525537
526538
Caveats
527539
=======

0 commit comments

Comments
 (0)