Skip to main content
0.35+

tuna mesh login

Log this device into a mesh team.

Adds this device to your mesh team. In a terminal it asks how to log in: through the browser on this machine, by a link and code confirmed from another device, or with an enroll token issued in the dashboard. Servers and automation pass the token with --enroll-token or TUNA_MESH_ENROLL_TOKEN.

Usage
tuna mesh login [flags]
Examples
tuna mesh login
tuna mesh login --no-browser
TUNA_MESH_ENROLL_TOKEN=<token> tuna mesh login
FlagDescription
--enroll-token stringEnroll token from the dashboard, for servers and automation (or TUNA_MESH_ENROLL_TOKEN).
--no-browserPrint a link and code to confirm the login from another device, for machines without a browser.
--webLog in through the browser on this machine without asking for the method.
--env stringDeprecated in 0.43: the device environment tag is no longer used and will be removed.

Global flags work too.

History​

0.43.0Deprecated the --env flag: the device environment tag is no longer used and will be removed.
0.41.0Added the --enroll-token, --no-browser and --web flags.
0.35.0Command added.