VSCode Install directory

Hi all,

I’m having troubles running PlatformIO on my Windows machine. The problem is, that PlatformIO is trying to install all contents inside the user directory. This typically is fine, but in my case we have company policies which prevent any application being executed outside of the programs folder. Is there a way to force VSCode installing PlatformIO into a different directory?

Thanks.

I figured it out myself. Setting the PLATFORMIO_CORE_DIR pointing to my folder where the policies allow execution solves the issue. I set this value inside the standard Windows uservariables and then after this run the normal package installation process within VSCode.

1 Like