Overview
Thevelatir command is installed on the system path by the Windows MSI and the macOS package. It is the supported way to control and script the desktop client.
At a Glance
Global Flags
Exit Codes
Control Commands
status
Show the current state of the desktop client: versions, uptime, last update check, and last config sync. Add--json for a structured result.
identity
Show the directory identity resolved for this device (department, office, groups, and custom attributes). See Directory context.restart
Restart the host process. The agent watchdog brings it back within 30 seconds. Same effect asvelatir host restart.
Tray Icon
hide
Hide the system-tray icon. It stays hidden across restarts. To hide it from install, use theVELATIR_HIDE_TRAY MSI property; see Enterprise deployment.
show
Show the tray icon again.Update Commands
update
Check whether a newer version is available (does not download).--apply to install and relaunch the new version immediately. Use this to force an update before the regular poll picks it up.
host restart
Restart the host process. The agent watchdog brings it back within 30 seconds. Useful after a configuration change that needs a reload.quit
Stop the desktop client. It will not restart on its own; it stays stopped until its service starts again (next boot, orsc start VelatirAgent on Windows) or you launch it manually.
Observability Commands
events
Stream the client’s event log. Filter by event type with--filter.
logs
Tail the agent or host log.version
Show the CLI, agent, and host versions.health
Show host, config-sync, update, and browser-delivery posture. Exits0 when healthy and non-zero when any check fails, so it works as a monitoring probe. See Health checks.
test
Run a one-shot, end-to-end check of the install.Configuration Commands
get-config
Show the effective configuration. The ingest key is masked.set-api-key
Update the Velatir ingest key. Velatir restarts so the new key takes effect immediately; pass--no-restart to skip the restart.
Common Recipes
Verify the install end to end
velatir test confirms the client, ingest key, and backend are all working.
Rotate the ingest key
status that the masked key has changed.
Force the latest version
Next Steps
Troubleshooting
Resolve agent-unreachable errors and other common issues.
Enterprise deployment
Drive the CLI from MDM and scripted rollouts.
How it works
Understand what the desktop client does.
FAQ
Quick answers to the questions that come up most often.