xian-cli is the operator-facing and automation-facing control plane for Xian.
It handles manifests, node profiles, lifecycle commands, health checks, local
bootstrap flows, and JSON-first client commands without turning xian-abci,
xian-py, or xian-stack into user-facing tools.
The published PyPI package name is xian-tech-cli. The installed console
command remains xian.
For local development in a sibling-repo workspace:
uv sync --group dev
uv run xian --helpFor an isolated operator install from a published release:
uv tool install xian-tech-cli
xian --helppipx install xian-tech-cli is also a valid operator install path if you
prefer pipx over uv.
For a bootstrap installer that prefers uv, then pipx, then
python3 -m pip --user:
curl -fsSL https://raw.githubusercontent.com/xian-technology/xian-cli/main/scripts/install.sh | shOn Windows PowerShell:
irm https://raw.githubusercontent.com/xian-technology/xian-cli/main/scripts/install.ps1 | iexSet XIAN_CLI_VERSION before invoking either installer if you want to pin a
specific release.
The CLI itself is Python-packaged today, but it is the canonical operator
surface for Xian. Runtime-heavy commands still expect access to xian-stack
and canonical manifests from xian-configs, either via the default sibling
workspace layout or explicit --stack-dir and --configs-dir flags.
Create a local network from a template:
uv run xian network template list
uv run xian network create local-dev --chain-id xian-local-1 \
--template single-node-dev --generate-validator-key --init-node
uv run xian node start local-dev
uv run xian node status local-devJoin a preset-backed shared network with a local profile:
uv run xian network join devnet-node --network devnet \
--template embedded-backend --generate-validator-key \
--init-node --restore-snapshot
uv run xian node health devnet-node
uv run xian node endpoints devnet-nodeInspect or recover a configured node:
uv run xian doctor devnet-node
uv run xian doctor devnet-node --skip-live-checks
uv run xian snapshot restore devnet-nodeFor remote snapshot bootstrap, prefer a signed snapshot manifest plus trusted snapshot signing keys in the network manifest or node profile.
Drive a node directly for wallet, query, and transaction automation:
uv run xian client wallet generate --include-private-key
uv run xian client query nonce --node-url http://127.0.0.1:26657 <address>
uv run xian client tx transfer \
--node-url http://127.0.0.1:26657 \
--private-key-env XIAN_PRIVATE_KEY \
<recipient> 1.25xian-cliowns operator UX. Deterministic node logic stays inxian-abci, and local runtime orchestration stays inxian-stack.- Manifests and node profiles are explicit artifacts, not hidden state.
- Templates and solution packs should accelerate common setups, but they should remain optional. An operator who knows what they are doing should still be able to work directly with manifests, profiles, and node homes.
- Health, endpoint discovery, and diagnostics are first-class operator features, not afterthoughts.
src/xian_cli/: commands, models, manifest handling, and backend integrationtests/: CLI behavior and manifest/profile validation coveragedocs/: lifecycle contracts, architecture notes, and backlog items
- key generation and validator material
- network template and solution-pack discovery
- network creation and network join flows
- node initialization, start, stop, and status
- endpoint and health discovery, including optional dashboard, monitoring, and
stack-managed
xian-intentkit - snapshot restore and doctor diagnostics
- solution-pack starter flows built on
xian-configs - wallet, query, call/simulate, and transaction automation through
xian-py
xian keys ...: generate validator and account materialxian network template ...: inspect reusable network templatesxian network create ...: create a local/operator-managed network profilexian network join ...: join an existing preset-backed or remote networkxian node ...: initialize, start, stop, inspect, and recover a node profilexian client ...: wallet, query, call/simulate, and transaction automationxian doctor ...: run broader local diagnosticsxian solution-pack ...: discover starter flows built on top of the golden path
uv sync --group dev
uv run ruff check .
uv run ruff format --check .
uv run pytest