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 loginOpens 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-browserAuthenticates 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_proActivates 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.
Options
--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):
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:
Next steps
Next: Verify your install, then run the Quickstart.
Last updated
Was this helpful?