From 148cc0f16439cc64b4096d124bd61aa488d81c2c Mon Sep 17 00:00:00 2001 From: BobDotCom <71356958+BobDotCom@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:03:24 -0500 Subject: [PATCH] Assume pip is on PATH --- docs/installation.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/installation.mdx b/docs/installation.mdx index 044a197f..2145a073 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -18,16 +18,16 @@ 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 @@ -35,17 +35,17 @@ If you need voice support for your bot, you should run: 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! @@ -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).