Skip to content

Development

per1234 edited this page Mar 13, 2024 · 9 revisions

Prerequisites

To build the Arduino CLI from sources, you need the following tools to be available in your local environment:

Building the source code

From the project folder root, just run:

task go:build

The project uses Go modules, so dependencies will be downloaded automatically. At the end of the build, you should find an arduino-create-agent executable in the same folder.

Compile without systray support

In case you prefer to build without tray icon support, use the following command:

go:build-cli

In this case, the executable will be named arduino-create-agent_cli.