CLI Overview
The tld command-line interface — installation, global options, and commands.
About the CLI
The TLD CLI (called tld) is the primary interface to the platform. It's a single static binary written in Go — no runtime required. You use it to authenticate, manage labs, validate solutions, and configure your environment.
bash
$ tld --help
$ Usage:
tld [command]
$ Available Commands:
login Authenticate with The Last Deploy
logout Sign out
lab Manage labs (start, stop, list, check)
check Validate your current lab solution
doctor Diagnose your environment
update Update the CLI to the latest version
version Show version information
config Manage CLI configuration
$ Flags:
-h, --help Show help
-v, --verbose Enable verbose output
--no-color Disable colored output
--json Output as JSON (for scripting)
Global flags
| Flag | Description |
|---|---|
| --help, -h | Show help for any command |
| --verbose, -v | Enable verbose output including debug information |
| --no-color | Disable ANSI color codes (useful in CI environments) |
| --json | Output results as JSON for scripting |
| --profile <name> | Use a named config profile |
Commands
| Command | Description |
|---|---|
| tld login | Authenticate with your TLD account |
| tld logout | Sign out and clear local credentials |
| tld lab list | List available labs |
| tld lab start <id> | Start a lab environment |
| tld lab stop | Stop the current lab |
| tld check | Validate your current lab solution |
| tld doctor | Diagnose your environment |
| tld update | Update the CLI |
| tld version | Show version info |
| tld config get/set | Read or write config values |
