arduino-builder

Compile arduino sketches. DEPRECATION WARNING: This tool is being phased out in favor of arduino. More information: <https://github.com/arduino/arduino-builder>.

Install

All systems
curl cmd.cat/arduino-builder.sh
Debian Debian
apt-get install arduino-builder
Ubuntu
apt-get install arduino-builder
Arch Arch Linux
pacman -S arduino-builder
image/svg+xml Kali Linux
apt-get install arduino-builder
Fedora
dnf install arduino-builder
Windows (WSL2)
sudo apt-get update sudo apt-get install arduino-builder

Compile arduino sketches. DEPRECATION WARNING: This tool is being phased out in favor of arduino. More information: <https://github.com/arduino/arduino-builder>.

  • Compile a sketch:
    arduino-builder -compile path/to/sketch.ino
  • Specify the debug level (default: 5):
    arduino-builder -debug-level 1..10
  • Specify a custom build directory:
    arduino-builder -build-path path/to/build_directory
  • Use a build option file, instead of specifying `--hardware`, `--tools`, etc. manually every time:
    arduino-builder -build-options-file path/to/build.options.json
  • Enable verbose mode:
    arduino-builder -verbose true

© tl;dr; authors and contributors