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 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 secretsManage app secrets
norn snapshotsDatabase snapshot management
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