Forrest logo
back to the pio tool

pio-settings:tldr:e955f

pio-settings: Display the name, value and description of a specific PlatformIO setting.
$ pio settings get ${setting}
try on your machine

This command is used with the PIO (PlatformIO) command-line interface (CLI) to retrieve the value of a specific setting.

The pio settings get command is followed by the ${setting} parameter, which represents the name of the setting whose value you want to retrieve. You need to replace ${setting} with the actual name of the setting you want to query.

For example, to retrieve the value of the setting named upload_port, you would use the command:

pio settings get upload_port

This command will display the current value of the specified setting in the terminal output. The settings in PlatformIO can control various aspects of the project build, upload, and other configurations. By using this command, you can easily access and view the current values of these settings.

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