Skip to content

Install isolated PlatformIO CLI

Igor Usenko edited this page Jun 9, 2022 · 4 revisions

https://docs.platformio.org/en/latest//core/installation/methods/installer-script.html

Install/Update

To install or upgrade PlatformIO Core paste that at a Terminal prompt:

python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"

Result

PlatformIO Core has been successfully installed into an isolated environment `/home/igor/.platformio/penv`!

The full path to `platformio.exe` is `/home/igor/.platformio/penv/bin/platformio`

If you need an access to `platformio.exe` from other applications, please install Shell Commands
(add PlatformIO Core binary directory `/home/igor/.platformio/penv/bin` to the system environment PATH variable):

See https://docs.platformio.org/page/installation.html#install-shell-commands

Symlinks

sudo ln -s ~/.platformio/penv/bin/platformio /usr/local/bin/platformio
sudo ln -s ~/.platformio/penv/bin/pio /usr/local/bin/pio
sudo ln -s ~/.platformio/penv/bin/piodebuggdb /usr/local/bin/piodebuggdb
Clone this wiki locally