UpdatesExplore the release notes
Documentation

Docs

CLI Reference

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 connect to 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 the network, logging in first if needed:

$ baseguard connect

Check the status:

$ baseguard status

List your organizations:

$ baseguard organizations

Switch organization:

$ baseguard switch-organization <org-id>

Disconnect:

$ baseguard disconnect

Log out completely:

$ baseguard logout

Show the version:

$ baseguard version

See Also