PlatformIO Community

VSCode: this command is deprecated

System: Windows 10 64-bit
VSCode: 1.68
PlatformIO: Core 6.0.2 Home 3.4.1

Since the latest update of VSCode and the PlatformIO extension a few days ago (June 2022) I always get the warning message “This command is deprecated and will be removed in the next releases. Please use ‘pio pkg install’ instead-” after successfully installing a library from the internal library manager

I have no idea where or how I should change the command used by the library manager and I surely hope that this will be taken care of before it gets broken in an upcoming release of the extension or PlatformIO running somewhere in the background.

Similiar to "Update All" command calls in invalid command · Issue #3219 · platformio/platformio-vscode-ide · GitHub, will be tracked there.

Fixed in PIO Home 3.4.2. Plesae open VSCode > Left ActivityBar > PlatformIO > Upgrade PlatformIO Core > Restart VSCode.