CLI Reference
Complete reference for all Baseguard CLI commands
The Baseguard CLI (baseguard) provides command-line access to manage your connection. Use it to authenticate, connect, check status, and switch between organizations.
Quick start: Run
baseguard connectto join the network. If you haven't logged in before, it will automatically prompt you to authenticate.
Prerequisites
- Baseguard is installed
- The daemon is running
Commands
| Command | Description |
|---|---|
login | Authenticate and register device |
logout | Remove credentials and disconnect |
connect | Connect to the network |
disconnect | Disconnect from the network |
status | View connected nodes and stats |
organizations | List available organizations |
switch-organization | Change active organization |
version | Display version information |
Quick Reference
# Connect to network (auto-authenticates if needed)
baseguard connect
# Check status
baseguard status
# List organizations
baseguard organizations
# Switch organization
baseguard switch-organization <org-id>
# Disconnect
baseguard disconnect
# Log out completely
baseguard logout
# Show version
baseguard versionSee Also
- Quick Start — Get connected in 2 minutes
- API Reference — Programmatic alternative to the CLI
- Troubleshooting — Common issues and solutions