Prebuilt Arduino CLI binaries for macOS, Linux, and Windows
npm i -g arduino-cli-runtime
arduino-cli version
How to make a new build
Prerequisites:
Compile:
git clone --depth=1 https://github.com/arduino/arduino-cli.git
cd arduino-cli
task build
Know your runtime:
node -e "console.log(process.platform + '-' + process.arch)"
# E.g. "linux-x64"
Create a folder with your runtime name like npm/linux-x64
, and adjust the package file.
Finally, copy the compiled binary into npm/linux-x64/bin/...
.
MIT