## Arduino CLI Install the CLI using `brew`: ```sh $ brew install arduino-cli ``` Add the following package repo and install: ```sh $ arduino-cli config init --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json $ arduino-cli core update-index ``` Set `Arduino.Path` and `Arduino.CommandPath` in VS Code: ```json "arduino.useArduinoCli": true, "arduino.path": "/path/to/arduino-cli", "arduino.commandPath": "arduino-cli" ```