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

Hi,

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 get-platformio.py. 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?

Thanks!

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

https://vscode-docs.readthedocs.io/en/stable/extensions/install-extension/

Cheers,
Norm.

Looks like the thing, tnx!

1 Like