Nodus
Reference

Storage Node CLI

Commands, flags, the interactive menu, and the running shell.

The Storage Node is a Rust binary (nodus). It can run interactively for setup and diagnostics, or non-interactively as a service.

Install and version

Prebuilt Linux x86_64 binaries are on GitHub Releases:

curl -fsSL https://raw.githubusercontent.com/TalibMushtaq/nodus/main/scripts/install-node.sh | sh
nodus --version

See Run a Storage Node for source installs and version pinning.

Global flags

FlagPurpose
--data-dir <PATH>Data directory for objects + DB; overrides NODUS_DATA_DIR
--force-adoptAdopt a directory that already contains prior node data without prompting
--relay <URL>Relay endpoint (public origin or explicit ws/wss URL)

Subcommands

CommandPurpose
nodus node startBoot the daemon (same as a bare non-interactive invocation)
nodus node pair [--code <CODE>]Pair with an account using a one-time code

Bare invocation

  • nodus with a TTY stdin → opens the interactive menu.
  • nodus with piped/systemd stdin → boots the daemon.
  • nodus node start always boots the daemon, which itself opens the interactive shell if stdin is a TTY.

Interactive menu

On a terminal, a bare nodus (after first-run setup) presents:

  1. Run the node
  2. Storage summary
  3. List files
  4. List folders
  5. Show status
  6. Security events
  7. Change data location
  8. Pair / re-pair this node
  9. Factory reset (delete everything)
  10. Quit

On first run with no recorded Relay, the pairing wizard runs before the menu.

Running shell

Once the daemon is running on a TTY, a shell accepts:

CommandPurpose
help / ?List commands
statusNode status
storage / summaryStorage summary
files / foldersList ids and sizes (names are encrypted)
conflictsShow conflicts
devicesShow paired devices
test / diagDiagnostics
factory-reset / purgeDestroy node state
quit / stop / exitStop the daemon

Configuration

Relay URL precedence is locked: CLI --relay → config.toml relay_url → NODUS_RELAY_URL → none. It never defaults to localhost.

VariablePurpose
NODUS_DATA_DIRData directory (tilde-expanded)
NODUS_RELAY_URLRelay endpoint fallback
NODUS_PAIRING_CODEPairing code for automation without argv exposure

~/.nodus/config.toml stores data_dir and (after successful pairing) relay_url.

Factory reset

Available only interactively (menu item 8, or the shell's factory-reset). It requires typing purge everything and deletes the catalogue, objects, identity, and config. See Factory reset.

On this page