Links CLI command reference
Every command of the Links CLI: devices, spaces, device and space commands, commands without the terminal, emergency alerts and settings.
This guide begins with General commands, continues through Devices, Device commands, Spaces, and finishes with Space commands.
General commands
| Command | What it does |
|---|---|
/help | Lists the commands you can use right now, including the connected device's and the entered space's |
/whoami | Account, access level, default workspace and token expiry |
/verbose | Shows or hides heartbeat events in streams (hidden by default) |
/clear | Clears the screen |
/logout | Revokes this token on the server, deletes the saved file and exits |
/exit | Leaves the terminal; you stay signed in |
Tab completes command names. Ctrl+C stops the device stream; at the links> prompt it exits.
Devices
| Command | What it does |
|---|---|
/list | Online devices you can reach, each with its ID |
/list --all | Every registered device, online and offline |
/list --company <name or uuid> | Only one workspace's devices |
/connect <id or name> | Connects to a device and streams its events; the last 20 events are shown first |
/info | Name, type, status, workspace, space and uuid of the connected device |
/disconnect | Stops the stream |
The ID is the first 8 characters of the device's uuid and never changes; a longer part of the uuid works too (at least 4 characters). A name matches exactly first, then by a part of it; when more than one device matches, the CLI lists them with their IDs and does nothing. Tab completes IDs and names.
Each stream line shows the time, level (info, warn, error), event type and its data:
[12:01:09] info commandAck {"commandId":"...","status":"executed"}
Device commands
After /connect, the commands depend on the device type. /help lists the ones your role may use; commands marked * ask for confirmation first.
POD gateway
| Command | What it does | Who |
|---|---|---|
/power.on, /power.off * | Power on or off (only power off asks) | Member |
/fan.50 | Fan speed 50% | Member |
/ambient.brightness.60, /ambient.temp.4000 | Ambient light brightness and color temperature | Member |
/front.brightness.70, /front.temp.4500 | Front light brightness and color temperature | Member |
/emergency.high * | High-level emergency alert | Workspace admin |
/restart * | Power-cycles the device | Workspace admin |
/reset * | Factory reset: wipes local config and credentials | Platform admin |
Space Display and other panels
| Command | What it does | Who |
|---|---|---|
/identify | The panel shows itself for 15 seconds (Android panels light the LED blue) | Member |
/template.refresh | Re-fetches and re-renders the active template | Member |
/reboot * | Restarts the display app | Workspace admin |
/update.check | Downloads the published bundle without reloading | Platform admin |
/update * | Downloads the published bundle and reloads the app | Platform admin |
Every device
| Command | What it does | Who |
|---|---|---|
/info.sync | Asks the device to report its info again (devices without their own commands) | Member |
/emergency, /emergency.critical * | Emergency alert on this device | Workspace admin |
/active | Pushes tokens and activates a device waiting for activation | Workspace admin |
/revoke * | Revokes the device's tokens; it drops to guest mode | Platform admin |
/send <commandType> [json] * | Any command by its type, e.g. /send smartDisplay.identify {"duration":5} | Platform admin |
Spaces
| Command | What it does |
|---|---|
/spaces | Spaces you can reach with type, location, workspace and device count |
/spaces --with-devices | Only spaces that have devices |
/spaces --company <name or uuid> | Only one workspace's spaces |
/space <id or name> | Enters a space: shows its devices and live status and streams all of its devices |
/connect <id> | Inside a space, opens one of its devices |
/leave | Leaves the space |
Inside a space the prompt shows links:space:<name>>. Stream lines start with the device's name.
Space commands
Inside a space you control the space itself; the server sends each command to the device in the space that can do it (for example the POD's gateway), so you do not need to know which device that is.
| Command | What it does | Who |
|---|---|---|
/lights <0-100> | Ambient light brightness | Member |
/lights.temp <2700-6500> | Ambient light color temperature in kelvin | Member |
/front <0-100> | Front light brightness | Member |
/front.temp <2700-6500> | Front light color temperature in kelvin | Member |
/fan <0-100> | Fan speed | Member |
/power on or /power off * | Power of the space's gateway (only off asks) | Member |
/alert [message] * | Emergency alert in the space | Workspace admin |
When no device in the space can do a command, the answer is unsupported_capability: No device found for capability ...: the space has no gateway for it, or the gateway is offline. /space shows the space's capabilities when you enter.
Commands without the terminal
Every terminal command also runs straight from the shell and exits, which suits scripts, CI and AI agents. They take the same IDs as the terminal.
| Command | What it does |
|---|---|
links list [--all] | Devices with their IDs |
links spaces | Spaces with their IDs |
links run <id> /command | Sends one command to a device or space and exits, e.g. links run aa9c7e0a /identify |
links watch <id> | Streams one device's or space's events until Ctrl+C |
Add --json to any of them for machine-readable output. Commands that ask for confirmation in the terminal need --yes here, e.g. links run aa9c7e0a /reboot --yes. links watch stops on its own with --for <seconds> or --until <event>.
Emergency alerts
Send and cancel emergency alerts the same way as the dashboard's Emergency Alert window. Both need workspace admin rights.
| Command | What it does |
|---|---|
links emergency | Active alerts you can reach, each with its ID |
links emergency cancel | All clear for the only active alert |
links emergency cancel <id or space> | All clear for one alert, or for every alert in one space |
links emergency cancel --all | All clear for every active alert |
links emergency send <space> --yes | Shows an alert on every screen of the space |
send takes --level low|medium|high|critical (default high), --message "..." and --minutes <5-1440> (default 120; the alert ends on its own after that). clear is the same as cancel.
--yes; an all clear never asks. A screen that is offline gets the all clear when it reconnects.Environment variables
| Variable | What it does |
|---|---|
LINKS_TOKEN | Uses this token instead of the saved login (CI) |
NO_COLOR | Plain output without colors |
LINKS_LANG=tr | Opens the browser pages in Turkish (otherwise the shell language decides) |
