1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 20:55:24 +02:00
tldr/pages/common/pio-run.md
2025-04-27 10:59:15 +03:00

28 lines
710 B
Markdown

# pio run
> Run PlatformIO project targets.
> More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_run.html>.
- List all available project targets:
`pio run --list-targets`
- List all available project targets of a specific environment:
`pio run --list-targets {{[-e|--environment]}} {{environment}}`
- Run all targets:
`pio run`
- Run all targets of specified environments:
`pio run {{[-e|--environment]}} {{environment1}} {{[-e|--environment]}} {{environment2}}`
- Run specified targets:
`pio run {{[-t|--target]}} {{target1}} {{[-t|--target]}} {{target2}}`
- Run the targets of a specified configuration file:
`pio run {{[-c|--project-conf]}} {{path/to/platformio.ini}}`