Using TinyGo

How to use the tinygo command.

These pages assume you already have TinyGo installed, either using Docker or by installing it manually.


Basic command examples

Here are some basic examples of using TinyGo in the most common scenarios.

Subcommands

Subcommands like tinygo flash and tinygo version.

Important Build Options

Command line flags you will commonly use with TinyGo that often control how the binary is built or flashed to the device.

Misc. Build Options

Command line flags that are less commonly used and don’t usually impact the build.