Forrest logo
back to the pio tool

pio-update:tldr:abdf8

pio-update: Update core packages only (skips platforms and libraries).
$ pio update --core-packages
try on your machine

The command pio update --core-packages is typically used in the context of PlatformIO, an open-source ecosystem used for developing and managing cross-platform code for embedded systems.

This particular command is used to update the core packages of PlatformIO. Core packages refer to the essential components of PlatformIO itself, including the PlatformIO Core, PlatformIO Build System (PIO Core), libraries, and toolchains.

When you execute the pio update --core-packages command, PlatformIO will check for any available updates for the core packages and libraries installed on your machine. If updates are found, it will download and install them, ensuring that you have the latest versions of the core components.

By regularly updating the core packages, you can benefit from the latest features, bug fixes, and improvements provided by the PlatformIO community, ensuring that your development environment stays up-to-date and optimized.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pio tool