Skip to content

CLI Reference

Piri provides a command-line interface for managing storage nodes on the Storacha network.

Usage

piri [command] [flags]

Global Flags

Flag Description
--config <path> Config file path. Defaults to ~/.config/piri/config.toml
--log-level <level> Logging level (debug, info, warn, error)
--data-dir <path> Storage service data directory
--temp-dir <path> Storage service temp directory
--key-file <path> Path to PEM file containing ed25519 private key

Subcommands

init

Initialize a new Piri node.

serve

Start the Piri server.

client

Interact with a running Piri node.

wallet

Manage wallets.

identity

Generate and manage node identity.

status

Show node status.

update

Check for and apply updates to Piri.