Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sign in

Run telys login to complete the device-code browser flow (or pass a token for CI), activate a license, and provision the signed runtime for your platform.

telys login does three things in one step: signs your device in with a device-code flow, activates a license for your plan, and provisions the signed native runtime. The default plan is the free telys_developer tier (one device); pass --plan telys_pro for commercial rights.

Log in

telys login

Opens the accounts portal in your browser, prints a user code, and waits while you approve the device. Standard flow on a workstation.

telys login --token "$TELYS_TOKEN" --no-browser

Authenticates with a token from the accounts portal instead of a browser — for CI runners and remote shells. --no-browser prints the verification URL instead of opening one.

telys login --plan telys_pro

Activates commercial-use rights on the telys_pro tier. Manage the subscription at accounts.thyn.ai.

How the device-code flow works

The default flow is the OAuth 2.0 device authorization grant (RFC 8628): the CLI requests a code, you approve it in a browser signed in to your account, and the CLI polls until approval completes.

1

Start login

Run telys login. The CLI contacts the accounts portal (accounts.thyn.ai) and receives a user code and a verification URL.

2

Approve the device

Your browser opens the verification URL. Sign in if needed and confirm the code shown in your terminal. With --no-browser, open the printed URL manually.

3

Receive credentials and license

On approval, the CLI stores your device credentials and a signed login license under ~/.telys, then activates your plan.

4

Provision the runtime

Unless you pass --no-install, the CLI downloads the signed runtime for your platform and verifies it offline before finishing.

Options

Flag
Effect

--token TOKEN

Authenticate non-interactively with a token (headless / CI).

--plan PLAN

Plan to activate. Default telys_developer; use telys_pro for commercial rights.

--no-install

Sign in and activate a license, but skip provisioning the runtime.

--no-browser

Do not open a browser; print the verification URL to approve manually.

What gets stored

Sign-in writes to your Telys home directory, ~/.telys (override with $TELYS_HOME):

File
Contents

device_key.pem

The device's Ed25519 key (mode 0600).

device_id

This device's identifier (a UUID4 hex string).

token

The cached control-plane credential.

api_key

The created Telys API key (rotatable).

login_license.jwt

The signed license issued to this device by telys login.

The signed runtime, when installed, lands under ~/.telys/runtime/<platform>/ — see On-disk layout.

Expected result

A successful sign-in confirms the device, activates your plan, and (unless --no-install) provisions and verifies the runtime. Confirm readiness:

The free telys_developer tier is limited to one device. Sign in each additional machine separately; manage devices and subscription at accounts.thyn.ai. See Plans & licensing for what each plan includes.

Next steps

Next: Verify your install, then run the Quickstart.

Last updated

Was this helpful?