Installing the IDE from the command line, and using an existing CLI installation underneath


I have a docker image (based on this Dockerfile) that supports ESP32 programming using the pio CLI. I’d like to add the VSCode IDE to this image, so I need to:

  • (preferably) do all the installation steps from the command-line
  • pick up the existing CLI installation from the VSCode install

I’m using Ubuntu 22.04, and my CLI install works by setting PLATFORMIO_CORE_DIR and then calling I’ve looked at the IDE install docs but they seem to assume at least some of the steps will be performed via the GUI.

Might there be another way?


Have a look here. Scroll down a bit and there’s a command line install section.


Looks like the thing, tnx!

1 Like