mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Update installation instructions (#655)
* Update installation instructions * Small fix for 2.x branch & make instructions brief * Style fix
This commit is contained in:
parent
f4ca858571
commit
18b268f0b6
1 changed files with 13 additions and 11 deletions
|
|
@ -5,34 +5,29 @@ Installation
|
||||||
Stable (2.x)
|
Stable (2.x)
|
||||||
============
|
============
|
||||||
|
|
||||||
Using PIP
|
From PyPI
|
||||||
---------
|
---------
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install -U aiogram
|
pip install -U aiogram
|
||||||
|
|
||||||
Using AUR
|
From Arch Linux Repository
|
||||||
---------
|
--------------------------
|
||||||
|
|
||||||
*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:
|
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ pacman -S python-aiogram
|
pacman -S python-aiogram
|
||||||
|
|
||||||
Development build (3.x)
|
Development build (3.x)
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
From test PyPi index
|
From PyPI
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install -U --extra-index-url https://test.pypi.org/simple/ --pre aiogram
|
pip install -U --pre aiogram
|
||||||
|
|
||||||
From GitHub
|
From GitHub
|
||||||
-----------
|
-----------
|
||||||
|
|
@ -40,3 +35,10 @@ From GitHub
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install https://github.com/aiogram/aiogram/archive/refs/heads/dev-3.x.zip
|
pip install https://github.com/aiogram/aiogram/archive/refs/heads/dev-3.x.zip
|
||||||
|
|
||||||
|
From AUR
|
||||||
|
--------
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
yay -S python-aiogram3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue