PlatformIO Community

Broken in VSCode Since 2.0.1 Update

platformio : The term ‘platformio’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1

  • platformio run -e STM32F103RC_btt_512K
  •   + CategoryInfo          : ObjectNotFound: (platformio:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Over and over and over and over and over.

I’ve added to the Windows PATH env var and even copied platformio.exe into my source folder - and nothing.

This error occurs when you do what? Click the build button / task in VSCode? Or when you type platformio in a new shell?

Is the command recognized in a PIO Terminal?