diff --git a/core/installation/development-version.rst b/core/installation/development-version.rst index e10328f4c9..c1394cd487 100644 --- a/core/installation/development-version.rst +++ b/core/installation/development-version.rst @@ -24,7 +24,7 @@ Install the latest PlatformIO from the ``develop`` branch: .. code-block:: bash - pip install -U https://github.com/platformio/platformio-core/archive/develop.zip + python -m pip install -U https://github.com/platformio/platformio-core/archive/develop.zip If you want to be up-to-date with the latest ``develop`` version of PlatformIO, then you need to re-install PlatformIO each time you see a new commit in @@ -32,7 +32,7 @@ then you need to re-install PlatformIO each time you see a new commit in .. code-block:: bash - pip install -U https://github.com/platformio/platformio-core/archive/develop.zip + python -m pip install -U https://github.com/platformio/platformio-core/archive/develop.zip Or: @@ -44,5 +44,5 @@ To revert to the latest stable version: .. code-block:: bash - pip uninstall platformio - pip install -U platformio + python -m pip uninstall platformio + python -m pip install -U platformio diff --git a/core/installation/methods/pypi.rst b/core/installation/methods/pypi.rst index e2d7730726..07de8d94f0 100644 --- a/core/installation/methods/pypi.rst +++ b/core/installation/methods/pypi.rst @@ -25,4 +25,4 @@ Python Package Manager (`pip `_) as follows: .. code-block:: bash - pip install -U platformio + python -m pip install -U platformio diff --git a/core/installation/troubleshooting.rst b/core/installation/troubleshooting.rst index 873988d76d..da47dd4b30 100644 --- a/core/installation/troubleshooting.rst +++ b/core/installation/troubleshooting.rst @@ -40,6 +40,7 @@ Terminal (not PlatformIO IDE Terminal) and uninstall obsolete PlatformIO Core: .. code-block:: bash pip uninstall platformio + python -m pip uninstall platformio # if you used macOS "brew" brew uninstall platformio diff --git a/core/installation/uninstall.rst b/core/installation/uninstall.rst index f393d33bf6..3e1a7a9a85 100644 --- a/core/installation/uninstall.rst +++ b/core/installation/uninstall.rst @@ -23,6 +23,7 @@ Uninstall PlatformIO Core and dependent packages # uninstall standalone PlatformIO Core installed via `pip` pip uninstall platformio + python -m pip uninstall platformio # uninstall Homebrew's PlatformIO Core (only macOS users if you installed it via Homebrew before) brew uninstall platformio diff --git a/platforms/atmelmegaavr_extra.rst b/platforms/atmelmegaavr_extra.rst index 6213382614..e46cac41fc 100644 --- a/platforms/atmelmegaavr_extra.rst +++ b/platforms/atmelmegaavr_extra.rst @@ -35,7 +35,7 @@ directly in the PlatformIO virtual environment using the following command: .. code-block:: bash - pip install pymcuprog + python -m pip install pymcuprog Once ``pymcuprog`` is installed it can be used as the uploader via a custom @@ -77,7 +77,7 @@ virtual environment using the following command: .. code-block:: bash - pip install https://github.com/mraardvark/pyupdi/archive/master.zip + python -m pip install https://github.com/mraardvark/pyupdi/archive/master.zip Once ``pyupdi`` is installed it can be used as the uploader via a custom