-
-
Notifications
You must be signed in to change notification settings - Fork 150
Development
per1234 edited this page Mar 13, 2024
·
10 revisions
To build the Arduino CLI from sources, you need the following tools to be available in your local environment:
-
Go
You must use the version specified by the
go
directive in the project'sgo.mod
file:
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
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.