← 返回命令列表

Linux command

pio-update 命令

文本

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

常用示例

Update all packages

pio update

Update core packages only

pio update --core-packages

Check for updates without installing

pio update --dry-run

说明

pio update updates installed PlatformIO Core packages, development platforms, and global libraries. It is a combination of pio platform update and pio lib update.

参数

--core-packages
Update core packages only.
--dry-run
Check for new versions without installing.
-c, --only-check
Deprecated alias for --dry-run.

FAQ

What is the pio-update command used for?

pio update updates installed PlatformIO Core packages, development platforms, and global libraries. It is a combination of pio platform update and pio lib update.

How do I run a basic pio-update example?

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

What does --core-packages do in pio-update?

Update core packages only.