Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,34 @@ You can find instructions for that [here](More/virtual-environments).

To install Pycord, you can use the following command in your terminal:

python3 -m pip install py-cord
pip install py-cord

:::tip
Remember that you need to install `py-cord`, not `pycord`.
Also, the `python3` command varies depending on your installation. It might be `python` or `python3.8` as an example.
Also, the `pip` command varies depending on your installation. For example, it might be `python3 -m pip` on macOS/Linux or `py3 -m pip` on some versions of Windows.
:::

If you need voice support for your bot, you should run:

python3 -m pip install "py-cord[voice]"
pip install "py-cord[voice]"

## Migration

### Updating Pycord

If you are upgrading from a previous version of Pycord, you can use the following command in your terminal to upgrade to the latest version:

python3 -m pip install -U py-cord
pip install -U py-cord

### Migrating from other libraries

If you are migrating from another library, say, `discord.py`, first of all, you need to uninstall it.

python3 -m pip uninstall discord.py
pip uninstall discord.py

Then, you can install Pycord, it's as simple as that!:

python3 -m pip install py-cord
pip install py-cord

:::caution
Uninstalling `discord.py` *after* installing `py-cord` can cause issues. Make sure to uninstall it first!
Expand All @@ -61,7 +61,7 @@ The development build comes with cutting edge features and new functionality, bu

To install the development build, you can use the following command in your terminal:

python -m pip install -U git+https://github.com/Pycord-Development/pycord
pip install -U git+https://github.com/Pycord-Development/pycord

:::important
Git is required to install this build. [Learn how you can install Git](./more/git).
Expand Down