Skip to content

CLI

The Norn CLI is a Charm-powered terminal client built with Bubble Tea, Lip Gloss, and Cobra. It provides rich TUI rendering for deploy progress, log streaming, and app status.

Installation

bash
cd norn/v2
make build     # builds bin/norn
make install   # copies to ~/go/bin/norn

Configuration

The CLI needs to know where the Norn API is running:

VariableDefaultDescription
NORN_URLhttp://localhost:8800API base URL

Or use the --api flag on any command:

bash
norn --api=https://norn.example.com status

Quick Reference

CommandDescription
norn statusList all apps with health and status
norn appDetailed view of a single app
norn deployDeploy with live pipeline progress
norn preflightRehearse build/test without runtime mutation
norn operationsInspect durable operation rows and drain state
norn resourcesResource usage and right-sizing suggestions
norn notificationsManage Beacon notification channels
norn canaryInspect and promote canary deployments
norn deploy-groupsRun ordered multi-app deploy groups
norn restartRolling restart
norn rollbackRollback to previous deployment
norn scaleScale a task group
norn logsStream live logs
norn healthCheck backing service health
norn statsDeployment and cluster statistics
norn accessAccess events and temporary IP grants
norn secretsManage app secrets
norn snapshotsDatabase snapshot management
norn servicesService manifest and reachability
norn cronCron job management
norn invokeInvoke a function
norn sagaView saga event log
norn validateValidate infraspec files
norn forgeSet up cloudflared routing
norn teardownRemove cloudflared routing
norn versionVersion and API endpoint info

Version

bash
$ norn version
norn v2 abc1234
api: http://localhost:8800