Skip to content

CLI Reference

The CLI is for advanced users who prefer command-line workflows or need to automate deployments with scripts. For interactive use, see Using the TUI.

octez-manager operates differently depending on how it’s run:

ModeHow to runServices run asData location
User modeoctez-managerYour user~/.local/share/octez-manager/
System modesudo octez-managerDedicated service users/var/lib/octez-manager/

Note: User mode and system mode are independent. Instances created in one mode are not visible in the other.

Terminal window
octez-manager [OPTIONS] <COMMAND>
OptionDescription
--helpShow help message
--versionShow version

Install a new Tezos node.

Terminal window
octez-manager install-node [OPTIONS]
OptionDescriptionDefault
--instance <NAME>Instance name(prompted)
--network <NET>Network (mainnet, shadownet, etc.)(prompted)
--history-mode <MODE>rolling, full, archiverolling
--data-dir <PATH>Data directoryauto
--rpc-addr <ADDR>RPC address127.0.0.1:8732
--net-addr <ADDR>P2P address0.0.0.0:9732
--snapshotBootstrap from snapshotfalse
--snapshot-uri <URL>Custom snapshot URLauto
--snapshot-no-checkSkip snapshot integrity checkfalse
--keep-snapshotKeep snapshot file after importfalse
--tmp-dir <PATH>Temporary directory for snapshot download/tmp
--service-user <USER>System user for the servicecurrent user
--octez-version <VER>Use a managed binary version-
--bin-dir-alias <ALIAS>Use a registered directory alias-
--app-bin-dir <PATH>Directory containing Octez binariesauto
--no-enableDon’t auto-start the servicefalse
--preserve-dataKeep existing data directoryfalse
--extra-arg <ARG>Extra argument for octez-node (repeatable)-

Binary selection priority: --octez-version > --bin-dir-alias > --app-bin-dir > auto-detect from PATH

Tip: Use --octez-version latest to automatically use the most recent stable Octez release. If the version isn’t downloaded yet, you’ll be prompted to download it.

Install a new DAL node.

Terminal window
octez-manager install-dal-node [OPTIONS]
OptionDescriptionDefault
--instance <NAME>Instance name(prompted)
--node-instance <NAME or URL>Local node instance name or remote endpoint URL-
--data-dir <PATH>Data directoryauto
--rpc-addr <ADDR>RPC address127.0.0.1:10732
--net-addr <ADDR>P2P address0.0.0.0:11732
--service-user <USER>System user for the servicecurrent user
--octez-version <VER>Use a managed binary version-
--bin-dir-alias <ALIAS>Use a registered directory alias-
--app-bin-dir <PATH>Directory containing Octez binariesauto
--no-enableDon’t auto-start the servicefalse
--extra-arg <ARG>Extra argument for octez-dal-node (repeatable)-

Install a new baker.

Terminal window
octez-manager install-baker [OPTIONS]
OptionDescriptionDefault
--instance <NAME>Instance name(prompted)
--node-instance <NAME or URL>Local node instance name or remote endpoint URL-
--delegate <ADDR>Delegate address (repeatable for multiple delegates)(prompted)
--liquidity-baking-vote <V>on, off, pass(prompted)
--remote-signer <NAME or URL>Signatory instance name or remote signer URL-
--dal-endpoint <NAME or URL>DAL node instance name or endpoint URL-
--base-dir <PATH>Baker base directoryauto
--service-user <USER>System user for the servicecurrent user
--octez-version <VER>Use a managed binary version-
--bin-dir-alias <ALIAS>Use a registered directory alias-
--app-bin-dir <PATH>Directory containing Octez binariesauto
--no-enableDon’t auto-start the servicefalse
--extra-arg <ARG>Extra argument for octez-baker (repeatable)-

Install a new accuser.

Terminal window
octez-manager install-accuser [OPTIONS]
OptionDescriptionDefault
--instance <NAME>Instance name(prompted)
--node-instance <NAME or URL>Local node instance name or remote endpoint URL-
--base-dir <PATH>Accuser base directoryauto
--service-user <USER>System user for the servicecurrent user
--octez-version <VER>Use a managed binary version-
--bin-dir-alias <ALIAS>Use a registered directory alias-
--app-bin-dir <PATH>Directory containing Octez binariesauto
--no-enableDon’t auto-start the servicefalse
--extra-arg <ARG>Extra argument for octez-accuser (repeatable)-

Install a new Signatory remote signer service. Signatory is a remote signing service for secure key management with bakers, supporting hardware security modules and cloud KMS backends.

For detailed setup instructions, backend options, security best practices, and troubleshooting, see the Signatory Setup Guide.

Terminal window
octez-manager install-signatory [OPTIONS]
OptionDescriptionDefault
--instance <NAME>Signatory instance name(prompted)
--backend <TYPE>Backend type: file (currently only option)file
--keys-dir <PATH>Directory for storing keys (file backend only)auto
--authorized-keys <KEYS>Authorized public key hashes with optional permissions(prompted)
--address <ADDR>HTTP server address127.0.0.1:6732
--metrics-address <ADDR>Metrics endpoint address (empty to disable)-
--watermark <BACKEND>Watermark storage: memory, filememory
--service-user <USER>System user for the servicecurrent user
--signatory-version <VER>Use a managed Signatory version-
--bin-dir-alias <ALIAS>Use a registered directory alias-
--app-bin-dir <PATH>Directory containing Signatory binaryauto
--no-enableDon’t auto-start the servicefalse

Example:

Terminal window
# Development setup with file backend
octez-manager install-signatory \
--instance dev-signer \
--backend file \
--authorized-keys tz1abc123... \
--signatory-version latest

Using with Baker:

After installing Signatory, reference it when installing a baker:

Terminal window
octez-manager install-baker \
--instance my-baker \
--delegate tz1abc123... \
--remote-signer dev-signer

Keys Directory:

The default keys directory location depends on the execution mode:

  • User mode: ~/.local/share/octez/signatory/<instance>/keys
  • System mode: /var/lib/octez/signatory/<instance>/keys

After installation, import your baker keys into this directory:

Terminal window
# Copy from octez-client
cp ~/.tezos-client/secret_keys ~/.local/share/octez/signatory/dev-signer/keys/
# Or import directly
octez-client -d ~/.local/share/octez/signatory/dev-signer/keys \
import secret key my-baker unencrypted:edsk...

Security Notes:

  • File backend stores keys unencrypted on disk — suitable for development/testing only
  • For production, use hardware-backed backends (YubiHSM) or cloud KMS (AWS/Azure/GCP)
  • Always restrict --authorized-keys to only the public key hashes that should be able to sign
  • Use --watermark file for production to persist watermarks across restarts
  • Enable --metrics-address for monitoring signing activity

See the Signatory Setup Guide for comprehensive documentation and security best practices.

Manage baker wallet operations and delegate actions.

Terminal window
octez-manager baker <SUBCOMMAND>

List all baker instances.

Terminal window
octez-manager baker list [OPTIONS]
OptionDescription
--jsonOutput as JSON

Show wallet state for a baker instance (balances, staking parameters, consensus key).

Terminal window
octez-manager baker <INSTANCE> status [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON

Example:

Terminal window
# Show status for default delegate
octez-manager baker baker-shadownet status
# Show status for specific delegate
octez-manager baker baker-shadownet status --delegate tz1abc...

Register as a delegate.

Terminal window
octez-manager baker <INSTANCE> register [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Stake tez for a baker delegate.

Terminal window
octez-manager baker <INSTANCE> stake <AMOUNT> [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Example:

Terminal window
octez-manager baker baker-shadownet stake 1000 --yes

Unstake tez (amount or “everything”).

Terminal window
octez-manager baker <INSTANCE> unstake <AMOUNT> [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Example:

Terminal window
# Unstake specific amount
octez-manager baker baker-shadownet unstake 500
# Unstake everything
octez-manager baker baker-shadownet unstake everything

Finalize pending unstake requests.

Terminal window
octez-manager baker <INSTANCE> finalize-unstake [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Transfer tez to another address.

Terminal window
octez-manager baker <INSTANCE> transfer <AMOUNT> <DESTINATION> [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Example:

Terminal window
octez-manager baker baker-shadownet transfer 100 tz1xyz... --yes

Set delegate staking parameters.

Terminal window
octez-manager baker <INSTANCE> set-delegate-params [OPTIONS]
OptionDescription
--limit-of-staking-over-baking <N>Limit of staking over baking (0-9)
--edge-of-baking-over-staking <N>Edge of baking over staking (0-100)
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Example:

Terminal window
octez-manager baker baker-shadownet set-delegate-params \
--limit-of-staking-over-baking 5 \
--edge-of-baking-over-staking 10

Update baker consensus key.

Terminal window
octez-manager baker <INSTANCE> update-consensus-key <KEY> [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Example:

Terminal window
octez-manager baker baker-shadownet update-consensus-key edpk...

Vote on governance (protocol hash during proposal period, yay/nay/pass during exploration/promotion).

Terminal window
octez-manager baker <INSTANCE> vote <VALUE> [OPTIONS]
OptionDescription
--delegate <PKH>Target delegate public key hash (default: first delegate)
--jsonOutput as JSON
--yes, -ySkip confirmation prompt

Examples:

Terminal window
# Vote on a proposal (proposal period)
octez-manager baker baker-shadownet vote PtNairob...
# Vote yay on current proposal (exploration/promotion period)
octez-manager baker baker-shadownet vote yay
# Vote nay
octez-manager baker baker-shadownet vote nay
# Abstain
octez-manager baker baker-shadownet vote pass

Manage instance groups for organizing and operating multiple services together.

Terminal window
octez-manager group <SUBCOMMAND>

Create a new instance group.

Terminal window
octez-manager group create <NAME> [OPTIONS]
OptionDescriptionDefault
--octez-version <VER>Managed Octez version (e.g. ‘24.1’ or ‘latest’)-
--bin-dir-alias <ALIAS>Registered binary directory alias-
--app-bin-dir <DIR>Path to binaries directoryauto
--service-user <USER>System user for servicestezos

Example:

Terminal window
octez-manager group create shadownet-stack --octez-version 21.0

List all instance groups.

Terminal window
octez-manager group list [OPTIONS]
OptionDescription
--jsonOutput as JSON

Show details of an instance group.

Terminal window
octez-manager group show <NAME> [OPTIONS]
OptionDescription
--jsonOutput as JSON

Delete an instance group.

Terminal window
octez-manager group delete <NAME> [OPTIONS]
OptionDescription
--cascadeDelete all services in the group
--ungroupRemove group but keep services (ungroup them)

Examples:

Terminal window
# Delete empty group
octez-manager group delete shadownet-stack
# Delete group and all services
octez-manager group delete shadownet-stack --cascade
# Ungroup services but keep them
octez-manager group delete shadownet-stack --ungroup

Add an existing service to a group.

Terminal window
octez-manager group add <NAME> --instance <INSTANCE>

Example:

Terminal window
octez-manager group add shadownet-stack --instance shadownet

Remove a service from a group (keeps the service).

Terminal window
octez-manager group remove <NAME> --instance <INSTANCE>

Example:

Terminal window
octez-manager group remove shadownet-stack --instance shadownet

Start all services in a group (dependency order).

Terminal window
octez-manager group start <NAME>

Stop all services in a group (reverse dependency order).

Terminal window
octez-manager group stop <NAME>

Restart all services in a group (stop all, then start all).

Terminal window
octez-manager group restart <NAME>

Upgrade binary version for all services in a group.

Terminal window
octez-manager group upgrade <NAME> [OPTIONS]
OptionDescription
--octez-version <VER>New managed Octez version (e.g. ‘24.1’ or ‘latest’)
--bin-dir-alias <ALIAS>New registered binary directory alias
--app-bin-dir <DIR>New path to binaries directory

Example:

Terminal window
octez-manager group upgrade shadownet-stack --octez-version 21.1

Manage existing instances.

Terminal window
octez-manager instance <NAME> <ACTION>

Actions:

ActionDescription
startStart the service
stopStop the service
restartRestart the service
showShow instance details
show-serviceShow systemd service status
logsView logs
export-logsExport logs to a tar.gz archive
editEdit configuration
removeRemove instance (keeps data)
purgeRemove instance and delete data
set-env <KEY> <VALUE>Set environment variable
get-env [KEY]Get environment variable(s)

List registered instances.

Terminal window
octez-manager list [OPTIONS]
OptionDescription
--internal, -iList only managed services (no external detection)
--external, -eShow only external (unmanaged) services
--all, -aShow both managed and external services

Import an external (unmanaged) Octez service into octez-manager.

Terminal window
octez-manager import <SERVICE_NAME> [OPTIONS]
OptionDescriptionDefault
--as <NAME>Custom instance nameauto-generated
--network <NET>Override network if not detectedauto-detected
--strategy <S>takeover (disable original) or clone (keep original)takeover
--dry-run, -dPreview import plan without making changesfalse
--cascade, -cImport service and all its dependenciesfalse
--interactive, -iReview and edit configuration before importfalse

Example:

Terminal window
# Preview what would be imported
octez-manager import octez-node-mainnet --dry-run
# Import with a custom name
octez-manager import octez-node-mainnet --as my-mainnet-node
# Clone without affecting the original service
octez-manager import octez-node-mainnet --strategy clone

Manage Octez binary versions. Binaries are stored in:

  • User mode: ~/.local/share/octez-manager/binaries/
  • System mode: /var/lib/octez-manager/binaries/

List installed managed versions and registered directories.

Terminal window
octez-manager binaries list

Download an Octez version from GitLab releases.

Terminal window
octez-manager binaries download <VERSION> [OPTIONS]

Use latest as the version to automatically download the most recent stable release.

OptionDescription
--no-verifySkip SHA256 checksum verification

Examples:

Terminal window
# Download a specific version
octez-manager binaries download 21.0
# Download the latest stable version
octez-manager binaries download latest

Remove an installed managed version.

Terminal window
octez-manager binaries remove <VERSION> [OPTIONS]
OptionDescription
--forceRemove even if in use by a service

Remove all unused managed versions (not referenced by any service).

Terminal window
octez-manager binaries prune [OPTIONS]
OptionDescription
--dry-run, -nShow what would be removed with disk space

Create an alias for a custom binary directory (e.g., a dev build).

Terminal window
octez-manager binaries register <PATH> [OPTIONS]
OptionDescription
--alias <NAME>Custom alias name (default: directory name)

Example:

Terminal window
octez-manager binaries register ~/octez/_build/default/src --alias dev-build

Remove a registered directory alias.

Terminal window
octez-manager binaries unregister <ALIAS_OR_PATH> [OPTIONS]
OptionDescription
--forceRemove even if in use by a service

Show available versions from GitLab releases.

Terminal window
octez-manager binaries list-remote [OPTIONS]
OptionDescription
--allShow all versions (including older ones)

Check for and install octez-manager updates.

Terminal window
octez-manager self-update [OPTIONS]
OptionDescription
--check, -cOnly check for updates, don’t install
--force, -fForce check (bypass cache)

Behavior depends on install method:

  • Package install (apt/dpkg): Shows the appropriate apt command to run
  • Binary install (install script): Downloads and installs automatically
  • Manual install: Shows link to release page

Example:

Terminal window
# Check if updates are available
octez-manager self-update --check
# Install updates
octez-manager self-update

Show version information and check for updates.

Terminal window
octez-manager version

Launch the interactive terminal UI (default command).

Terminal window
octez-manager [OPTIONS]
OptionDescription
--page <NAME>Start on a specific page
--ui-logEnable UI debug logs
--ui-logfile <FILE>Write UI logs to file
--theme <THEME>Theme name or path (built-ins: dark, light)
--local-indexer <URL>Register local TzKT-compatible indexer endpoint
--indexer-network <NET>Network the local indexer serves (default: mainnet)
--compare-indexersLog divergences between local and public indexer

Note: When run without arguments, octez-manager launches the TUI. Use explicit subcommands for CLI operations.

Start the web interface for browser-based remote management.

Terminal window
octez-manager web [OPTIONS]
OptionDescriptionDefault
--port <PORT>, -pTCP port to listen on8080
--password <PW>Controller password (full access)none
--viewer-password <PW>Viewer password (read-only access)same as —password
--page <NAME>Start on a specific pageinstances
--ui-logEnable UI debug logsfalse
--ui-logfile <FILE>Write UI logs to filenone

The web interface provides the same functionality as the TUI, accessible from any browser. It uses xterm.js for terminal emulation over WebSocket.

Authentication:

  • Without passwords: Anyone can connect
  • With --password: Controller access requires authentication
  • With --viewer-password: Separate read-only access with different password

Passwords can also be set via environment variables:

  • MIAOU_WEB_PASSWORD — Controller password
  • MIAOU_WEB_VIEWER_PASSWORD — Viewer password (falls back to controller password)

Examples:

Terminal window
# Start on default port (8080), no authentication
octez-manager web
# Custom port with password protection
octez-manager web --port 8443 --password mysecret
# Separate passwords for controller and viewer
octez-manager web --password admin123 --viewer-password viewer123

Query RPC endpoints on node instances. Provides both scripted and interactive access to Tezos node RPCs.

Execute a GET request to an RPC endpoint.

Terminal window
octez-manager rpc get [OPTIONS] <PATH>
OptionDescription
--instance <NAME>, -iTarget a local node instance
--public <NODE>Target a public node (from rpc public-nodes)
--url <URL>Target a custom RPC URL

Examples:

Terminal window
# Query version on a local instance
octez-manager rpc get --instance shadownet /version
# Query bootstrap status on a public node
octez-manager rpc get --public mainnet /chains/main/is_bootstrapped
# Query a custom endpoint
octez-manager rpc get --url http://localhost:8732 /chains/main/blocks/head/header

List available RPC endpoints at a path.

Terminal window
octez-manager rpc list [OPTIONS] [PATH]
OptionDescription
--instance <NAME>, -iTarget a local node instance
--public <NODE>Target a public node
--url <URL>Target a custom RPC URL

Examples:

Terminal window
# List root endpoints
octez-manager rpc list --instance shadownet
# List endpoints under /chains/main
octez-manager rpc list --instance shadownet /chains/main

Start interactive RPC mode with tab completion.

Terminal window
octez-manager rpc interactive [OPTIONS]
OptionDescription
--instance <NAME>, -iTarget a local node instance
--public <NODE>Target a public node
--url <URL>Target a custom RPC URL

In interactive mode:

  • Use Tab for path completion
  • Type paths and press Enter to execute
  • Type exit or press Ctrl-D to quit

List available node instances that can be queried.

Terminal window
octez-manager rpc instances

List available public RPC nodes from Taquito.

Terminal window
octez-manager rpc public-nodes

Manage baker rewards and payouts.

Terminal window
octez-manager rewards <SUBCOMMAND>

All rewards commands auto-detect the baker instance when only one baker is registered. Use --baker <INSTANCE> when multiple bakers exist.

Show current cycle and payout status for a baker.

Terminal window
octez-manager rewards status [OPTIONS]
OptionDescription
--baker <INSTANCE>Baker instance name (auto-inferred if only one baker)

Example:

Terminal window
octez-manager rewards status --baker baker-shadownet

Calculate and display a payout preview for a specific cycle.

Terminal window
octez-manager rewards generate [OPTIONS]
OptionDescriptionDefault
--baker <INSTANCE>Baker instance nameauto-inferred
--cycle <N>Target cycle numberlatest completed
--forceRe-generate even if cycle was already paidfalse
--jsonOutput as JSONfalse

Example:

Terminal window
# Generate payout for latest completed cycle
octez-manager rewards generate
# Generate for specific cycle
octez-manager rewards generate --cycle 123
# Re-generate already-paid cycle
octez-manager rewards generate --cycle 120 --force

Show historical payout summaries.

Terminal window
octez-manager rewards history [OPTIONS]
OptionDescriptionDefault
--baker <INSTANCE>Baker instance nameauto-inferred
--cycles <N>Number of recent cycles to show30
--jsonOutput as JSONfalse

Example:

Terminal window
# Show last 30 cycles
octez-manager rewards history
# Show last 10 cycles
octez-manager rewards history --cycles 10

Execute payout for a specific cycle.

Terminal window
octez-manager rewards pay [OPTIONS]
OptionDescriptionDefault
--baker <INSTANCE>Baker instance nameauto-inferred
--cycle <N>Target cycle numberlatest completed
--dry-runSimulate without broadcastingfalse
--confirmSkip interactive confirmation (for automation)false

Example:

Terminal window
# Pay latest cycle (with confirmation prompt)
octez-manager rewards pay
# Dry-run for specific cycle
octez-manager rewards pay --cycle 123 --dry-run
# Automated payout (no prompt)
octez-manager rewards pay --confirm

Import an external config.hjson file.

Terminal window
octez-manager rewards config import <PATH> [OPTIONS]
OptionDescription
--baker <INSTANCE>Baker instance name (auto-inferred if only one baker)

Example:

Terminal window
octez-manager rewards config import ./config.hjson

Send a test notification to all configured channels.

Terminal window
octez-manager rewards notify test [OPTIONS]
OptionDescription
--baker <INSTANCE>Baker instance name (auto-inferred if only one baker)

Example:

Terminal window
octez-manager rewards notify test

Enable continual payouts. Automatically pays due cycles when the scheduler detects cycle transitions.

Terminal window
octez-manager rewards continual start [OPTIONS]
OptionDescriptionDefault
--baker <INSTANCE>Baker instance nameauto-inferred
--interval <N>Pay every N cycles1 (every cycle)
--offset <N>Cycle offset within the interval0

Example:

Terminal window
# Enable automatic payout every cycle
octez-manager rewards continual start
# Pay every 3 cycles
octez-manager rewards continual start --interval 3
# Pay every 2 cycles, offset by 1
octez-manager rewards continual start --interval 2 --offset 1

Disable continual payouts.

Terminal window
octez-manager rewards continual stop [OPTIONS]
OptionDescription
--baker <INSTANCE>Baker instance name (auto-inferred if only one baker)

Show continual mode status.

Terminal window
octez-manager rewards continual status [OPTIONS]
OptionDescription
--baker <INSTANCE>Baker instance name (auto-inferred if only one baker)

Manage sandbox environments for local testing and development.

Terminal window
octez-manager sandbox <SUBCOMMAND>

Create a sandbox with a running node and baker.

Terminal window
octez-manager sandbox create [OPTIONS]
OptionDescriptionDefault
--network <NET>, -nTezos network (e.g. ghostnet, mainnet, or teztnets URL)shadownet
--name <NAME>Sandbox nameauto-generated from network
--snapshot <URI>Snapshot URL or file pathauto-fetched
--rpc-addr <ADDR>Node RPC address host:portauto-assigned (starting at 18732)
--max-delegates <N>Max delegates to impersonate via yes-wallet20
--num-nodes <N>Number of nodes to create (nodes 2+ peer to node 1)1
--num-bakers <N>Number of bakers to create (delegates split evenly)1
--accuserInstall an octez-accuser servicefalse
--app-bin-dir <PATH>Directory containing Octez binariesauto
--octez-version <VER>Managed Octez version (e.g. ‘24.1’ or ‘latest’)-
--bin-dir-alias <ALIAS>Registered binary directory alias-
--service-user <USER>System user for servicescurrent user or ‘tezos’

Example:

Terminal window
# Create a shadownet sandbox with defaults
octez-manager sandbox create
# Create a ghostnet sandbox with 2 nodes and 3 bakers
octez-manager sandbox create \
--network ghostnet \
--name my-test \
--num-nodes 2 \
--num-bakers 3 \
--accuser
# Create with specific Octez version
octez-manager sandbox create \
--network shadownet \
--octez-version 21.0

List all sandboxes.

Terminal window
octez-manager sandbox list

Show sandbox status.

Terminal window
octez-manager sandbox status <NAME>

Example:

Terminal window
octez-manager sandbox status shadownet-sandbox

Start all services in a sandbox.

Terminal window
octez-manager sandbox start <NAME>

Example:

Terminal window
octez-manager sandbox start shadownet-sandbox

Stop all services in a sandbox.

Terminal window
octez-manager sandbox stop <NAME>

Example:

Terminal window
octez-manager sandbox stop shadownet-sandbox

Destroy a sandbox (stops services and removes all data).

Terminal window
octez-manager sandbox destroy <NAME> [OPTIONS]
OptionDescription
--yes, -ySkip confirmation prompt

Example:

Terminal window
# Destroy with confirmation
octez-manager sandbox destroy shadownet-sandbox
# Destroy without confirmation
octez-manager sandbox destroy shadownet-sandbox --yes

Add an account to a sandbox wallet.

Terminal window
octez-manager sandbox add-account <NAME> <ADDRESS> [OPTIONS]
OptionDescriptionDefault
--alias <ALIAS>Alias for the accountderived from address

Example:

Terminal window
# Add account with auto-generated alias
octez-manager sandbox add-account shadownet-sandbox tz1abc123...
# Add account with custom alias
octez-manager sandbox add-account shadownet-sandbox tz1abc123... --alias my-account

Show networks available from teztnets.com.

Terminal window
octez-manager list-available-networks [OPTIONS]
OptionDescription
--jsonOutput as JSON

List snapshots available from snapshots.tzinit.org.

Terminal window
octez-manager list-snapshots [OPTIONS]
OptionDescriptionDefault
--network <NET>Network to list snapshots forshadownet
--jsonOutput as JSONfalse

Purge all registered instances. Removes services, data directories, and log files.

Warning: This command is destructive and intended for testing purposes. It will permanently delete all instance data and cannot be undone.

Terminal window
octez-manager purge-all

Remove orphan data directories and log files not associated with any registered service.

Terminal window
octez-manager cleanup-orphans [OPTIONS]
OptionDescription
--dry-run, -nShow what would be removed without deleting

Remove stale dependency entries from service configurations.

Terminal window
octez-manager cleanup-dependencies
Terminal window
# Install Shadownet node with snapshot (recommended for testing)
octez-manager install-node \
--instance shadownet \
--network shadownet \
--history-mode rolling \
--snapshot
# Install baker
octez-manager install-baker \
--instance baker-shadownet \
--node-instance shadownet \
--delegate tz1... \
--liquidity-baking-vote pass
# Install accuser
octez-manager install-accuser \
--instance accuser-shadownet \
--node-instance shadownet
Terminal window
# Download a specific Octez version
octez-manager binaries download 21.0
# Install a node using that version
octez-manager install-node \
--instance shadownet \
--network shadownet \
--octez-version 21.0 \
--snapshot
# Register a local dev build
octez-manager binaries register ~/octez/_build/default/src --alias dev
# Install using the dev build
octez-manager install-node \
--instance dev-node \
--network shadownet \
--bin-dir-alias dev
Terminal window
# List all instances (including external/unmanaged)
octez-manager list --external
# View logs
octez-manager instance shadownet logs
# Restart a service
octez-manager instance shadownet restart
# Launch the TUI
octez-manager
Terminal window
# List external services
octez-manager list --external
# Preview import
octez-manager import octez-node-mainnet --dry-run
# Import with takeover (disable original)
octez-manager import octez-node-mainnet --as mainnet
# Import with clone (keep original running)
octez-manager import octez-node-mainnet --strategy clone --as mainnet-copy
Terminal window
octez-manager install-baker \
--instance baker-shadownet \
--node-instance shadownet \
--delegate tz1abc... \
--delegate tz1def... \
--liquidity-baking-vote pass
Terminal window
octez-manager install-baker \
--instance baker-shadownet \
--node-instance http://localhost:8732 \
--delegate tz1abc... \
--liquidity-baking-vote pass
Terminal window
# List available networks
octez-manager list-available-networks
# List snapshots for a network
octez-manager list-snapshots --network shadownet
Terminal window
# Run as root for production deployments
sudo octez-manager install-node \
--instance mainnet \
--network mainnet \
--service-user tezos \
--snapshot
# Services will run as dedicated users with proper isolation
sudo octez-manager list