LinuxCommandLibrary

pio-init

initializes a new PlatformIO project

TLDR

Initialize project in current directory

$ pio init
copy
Initialize with specific board
$ pio init --board [uno]
copy
Initialize with IDE support
$ pio init --ide [vscode]
copy
Initialize in specific directory
$ pio init -d [project_dir]
copy

SYNOPSIS

pio init [options]

DESCRIPTION

pio init initializes a new PlatformIO project. Creates project structure with platformio.ini configuration file. Supports multiple boards and IDE integrations for embedded development.

PARAMETERS

-b, --board id

Board ID to initialize for.
-d, --project-dir dir
Project directory.
--ide ide
Generate IDE project files (vscode, atom, etc.).
-O option
Project option in format section.option=value.
-e, --environment name
Default environment name.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community