Skip to content

Commit

Permalink
Use python -m pip instead of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Jun 7, 2023
1 parent f7e6122 commit 210813c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions core/installation/development-version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ 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
`PlatformIO GitHub repository (branch: develop) <https://github.com/platformio/platformio-core/commits/develop>`_ like so:

.. 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:

Expand All @@ -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
2 changes: 1 addition & 1 deletion core/installation/methods/pypi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Python Package Manager (`pip <https://pip.pypa.io>`_) as follows:

.. code-block:: bash
pip install -U platformio
python -m pip install -U platformio
1 change: 1 addition & 0 deletions core/installation/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions core/installation/uninstall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions platforms/atmelmegaavr_extra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 210813c

Please sign in to comment.