Tillered Arctic

CLI Overview

Introduction to the Arctic command-line interface

Arctic CLI Reference

The Arctic CLI (arctic) is a command-line tool for managing Arctic agents and clusters.

Installation

See the Installation guide for download and setup instructions.

Basic Usage

arctic <command> [subcommand] [flags]

Commands

CommandDescription
bootstrapInitialize an agent with a license
licenseManage agent license
configManage CLI configuration
clusterCluster operations
peersManage cluster peers
servicesManage services
routesManage service routes
credentialsManage API credentials
healthCheck agent health
cacheManage completion cache
composeManage cluster via YAML config files (recommended)
docsServe embedded documentation locally
completionGenerate shell completion scripts
versionShow CLI version

Global Flags

These flags can be used with any command. See Global Flags for details.

FlagShortDescription
--context-cSpecific context to use
--urlAgent URL override
--output-oOutput format: table, json, yaml
--json-jOutput in JSON format (shorthand for -o json)
--yes-ySkip confirmation prompts
--debugEnable debug logging

Configuration

The CLI stores configuration in ~/.config/arctic/config.yaml. This file contains:

  • Cluster definitions with credentials
  • Peer connection details
  • Current context selection

See CLI Configuration for the full format.

Exit Codes

CodeMeaning
0Success
1General error
2Usage error
3Configuration error
4Connection error
5Authentication error
6Partial failure

See Exit Codes for details.

Environment Variables

The CLI respects these environment variables:

VariableDescription
ARCTIC_CONFIGPath to config file
ARCTIC_CONTEXTDefault context to use
ARCTIC_URLDefault agent URL
ARCTIC_TOKENAccess token

Examples

# Bootstrap an agent
arctic bootstrap --url http://192.168.1.10:8080 --license-file license.json

# List peers
arctic peers list

# Create a service with JSON output
arctic services create --target-peer PEER_ID -j

# Delete without confirmation
arctic services delete SERVICE_ID --yes