mkdir Project
cd Project
pio project init
pio system prune --dry-run
nvim platform.ini
Put this in the file (since we're using an ESP32 board):
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
pio run
pio run --target upload