2021-01-26 21:20:52 +02:00
|
|
|
############
|
|
|
|
|
Installation
|
|
|
|
|
############
|
|
|
|
|
|
|
|
|
|
Stable (2.x)
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
Using PIP
|
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
|
|
pip install -U aiogram
|
|
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
Using AUR
|
|
|
|
|
---------
|
2021-01-26 21:20:52 +02:00
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
*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.
|
2021-01-26 21:20:52 +02:00
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
To do this, just use pacman to install the *python-aiogram* package:
|
2021-01-26 21:20:52 +02:00
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
$ pacman -S python-aiogram
|
2021-01-26 21:20:52 +02:00
|
|
|
|
|
|
|
|
Development build (3.x)
|
|
|
|
|
=======================
|
|
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
From test PyPi index
|
2021-01-26 21:20:52 +02:00
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
pip install -U --extra-index-url https://test.pypi.org/simple/ --pre aiogram
|
2021-01-26 21:20:52 +02:00
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
From GitHub
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
2021-01-26 21:20:52 +02:00
|
|
|
|
2021-05-12 23:00:12 +03:00
|
|
|
pip install https://github.com/aiogram/aiogram/archive/refs/heads/dev-3.x.zip
|