Skip to content

Development

Davide edited this page Jan 14, 2025 Β· 11 revisions

Prerequisites

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

Local Development with auto-reload

task run

Build the project and run it with auto-reload (if any *.go files are changed the tool is relaunched automatically) and data-race enable (to spot DATA RACE warning).

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-cloud-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-cloud-agent_cli.

Clone this wiki locally