Update installation instructions (#655)

* Update installation instructions

* Small fix for 2.x branch & make instructions brief

* Style fix
This commit is contained in:
evgfilim1 2021-08-03 02:06:52 +03:00 committed by GitHub
parent f4ca858571
commit 18b268f0b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,34 +5,29 @@ Installation
Stable (2.x)
============
Using PIP
From PyPI
---------
.. code-block:: bash
pip install -U aiogram
Using AUR
---------
*aiogram* 2.x is also available in Arch Linux Repository, so you can install this framework
on any Arch-based distribution like Arch Linux, Antergos, Manjaro, etc.
To do this, just use pacman to install the *python-aiogram* package:
From Arch Linux Repository
--------------------------
.. code-block:: bash
$ pacman -S python-aiogram
pacman -S python-aiogram
Development build (3.x)
=======================
From test PyPi index
From PyPI
-----------------------
.. code-block:: bash
pip install -U --extra-index-url https://test.pypi.org/simple/ --pre aiogram
pip install -U --pre aiogram
From GitHub
-----------
@ -40,3 +35,10 @@ From GitHub
.. code-block:: bash
pip install https://github.com/aiogram/aiogram/archive/refs/heads/dev-3.x.zip
From AUR
--------
.. code-block:: bash
yay -S python-aiogram3