- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 156
Development
        Davide edited this page Jan 14, 2025 
        ·
        11 revisions
      
    To build Arduino Cloud Agent from sources, you need the following tools to be available in your local environment:
- 
Go
You must use the version specified by the godirective in the project'sgo.modfile:
 https://github.com/arduino/arduino-create-agent/blob/main/go.mod
 ⓘ gvm is recommended if you need to work with multiple versions of Go on your machine.
- Task to help you run the most common tasks from the command line
task runBuild 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).
From the project folder root, just run:
task go:buildThe 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.
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.