← 返回命令列表

Linux command

pio-upgrade 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Upgrade

pio upgrade

Upgrade

pio upgrade --dev

说明

pio upgrade checks for and upgrades the PlatformIO Core CLI tool itself to the latest release. By default it installs the latest stable version. Use --dev to install the development version for testing new features before they are officially released. Unlike pio update, which updates project platform packages and libraries, pio upgrade targets the underlying PlatformIO Core installation.

参数

--dev
Upgrade to the latest development version instead of stable. Provides access to new features before official release but may be less stable.

FAQ

What is the pio-upgrade command used for?

pio upgrade checks for and upgrades the PlatformIO Core CLI tool itself to the latest release. By default it installs the latest stable version. Use --dev to install the development version for testing new features before they are officially released. Unlike pio update, which updates project platform packages and libraries, pio upgrade targets the underlying PlatformIO Core installation.

How do I run a basic pio-upgrade example?

Run `pio upgrade` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --dev do in pio-upgrade?

Upgrade to the latest development version instead of stable. Provides access to new features before official release but may be less stable.