telys login
Reference for telys login — the device-code sign-in that caches your credentials and installs the signed runtime, with interactive and CI examples.
Sign in and activate a license on this machine. telys login runs a browser device-code flow (RFC 8628) against the accounts portal, caches credentials under $TELYS_HOME, and — unless told otherwise — installs the signed native runtime for your platform.
Synopsis
telys login [--token TOKEN] [--plan PLAN] [--no-install] [--no-browser]Options
--token
token
(none)
Use a control-plane token directly instead of the interactive device-code flow. Intended for headless/CI.
--plan
plan id
telys_developer
Tier to activate: telys_developer (free), telys_pro, telys_enterprise, telys_team.
--no-install
flag
off
Sign in only; do not download or install the signed runtime.
--no-browser
flag
off
Do not open a browser; print the verification URL and user code for you to open elsewhere.
The device-code flow
By default, login opens your browser at the accounts portal ($TELYS_ACCOUNTS_URL, default https://accounts.thyn.ai) and polls the control plane ($TELYS_API_URL) until you approve the device. On success it caches credentials and installs the runtime.
telys login
telys login --plan telys_pro # activate a commercial tierWith --no-browser, the same flow runs but prints the URL and code to open in a browser on another machine — useful over SSH:
telys login --no-browser
# Visit https://accounts.thyn.ai/device and enter code: WDJB-MJHTWhat it stores
On success, telys login writes the following under $TELYS_HOME (default ~/.telys):
token
Cached control-plane auth token.
api_key
Cached Telys API key.
device_key.pem
Per-device Ed25519 key (mode 0600).
device_id
Random device identifier (uuid4 hex).
login_license.jwt
The license issued to this device by telys login.
Unless you pass --no-install, it also installs the signed runtime under $TELYS_HOME/runtime/<platform>/ — the same install as telys runtime install.
Headless and CI
CI has no browser to approve a device. Supply a token instead, and skip the runtime install if you only need to authenticate:
$TELYS_TOKEN and $TELYS_API_KEY also override the cached credentials at runtime, so a fully provisioned CI job can skip login entirely. See Environment & exit codes.
Exit codes
0
Signed in (and, unless --no-install, runtime installed).
1
Authentication or install could not complete.
2
Usage error (for example, an unknown flag).
See also
Sign in & activate a license — the guided walkthrough.
Device-code sign-in — how the flow works and what it grants.
Plans & licensing — which
--planvalue to use.telys runtime — install and verify the runtime separately.
Last updated
Was this helpful?