PlatformIO Terminal in VSCode-Plugin: "Command pio not found"

Yes, since that’s exactly what would be called if the normal way of just opening a CLI and running pio would do.

Shortcut reasons. Usually you do not have to specify the entire path to pio exe, PlatformIO nicely prepares the environment in the PlatformIO CLI terminal.

1 Like

Firstly, make sure you are using the VSCode (PIO IDE) version only. See Multiple PlatformIO Cores in a system and ‘platformio’ is not recognized as an internal or external command

The following is an extract from the official guide


An alternative way to do this is to click the PIO icon on the left

image

Then go to Quick Access > Miscellaneous > PlatformIO Core CLI

Then you should be able to run pio commands in the integrated terminal

image

Try:

pio --version

which should return something like

PlatformIO Core, version 6.1.16