Skip to main content

Tutorial: CLI Command Reference

1 minTutorials

CLI command reference.

// parallelix-node v2.0.0 · eleven commands · macos + linux · windows via wsl2

Every parallelix-node subcommand, one card each: synopsis, flags, what it does, the copyable command, and example output. Inference runs on Ollama; the node key signs liveness and results only, never the staking wallet.

parallelix-node setup
parallelix-node setup

Guided onboarding in five steps: [1/5] hardware detect (determines tier), [2/5] Ollama check (waits if starting), [3/5] model recommend and pull (largest fitting 90% of VRAM, or 50% RAM on CPU; any Ollama model works), [4/5] node key generation (separate low-value secp256k1 key, never the staking wallet), [5/5] prints a prefilled Console staking link. After staking, polls the coordinator and auto-detects the nodeId, saves it to config, then offers service install. Idempotent: re-running resumes from where it left off.

parallelix.nodenode · setup
$parallelix-node setup
[1/5] hardwareRTX 4090 · 24 GB · tier 3
[2/5] ollamarunning
[3/5] modelqwen2.5:14b · pulled
[4/5] node keygenerated · 0600
[5/5] stake now app.parallelix.io/operate/stake?...
detected nodeId 4217saved to config
TIER3KEYSECP256K1NODE#4217// sample
setup
parallelix-node setup
parallelix-node probe
parallelix-node probe

Detects CPU cores, memory, and GPU (NVIDIA via nvidia-smi, Apple Silicon via Metal, AMD via ROCm), confirms Ollama is running, and prints the tier the machine maps to. CPU is tier 1; GPU is tier 2/3/4 by VRAM. Used by setup at step 1/5; also available as a standalone command for the manual path.

parallelix.nodenode · probe
$parallelix-node probe
cpu 16 cores
memory 64 GB
gpu NVIDIA H100 · 80 GB VRAM
ollama running (v0.x)
maps to tier 4GPU · datacenter
GPUH100VRAM80 GBTIER4// sample
probe
parallelix-node probe
parallelix-node init
parallelix-node init [--wallet 0x..] [--force]

Generates the separate, low-value secp256k1 node key at ~/.parallelix/node.key (mode 0600), writes config.json, and prints the nodeKeyHash you register on-chain. Used by setup at step 4/5; also available as a standalone command for the manual path. Refuses to overwrite an existing key without --force.

  • --wallet 0x.. Record the staking wallet for reference (the CLI never signs with it).
  • --force Overwrite an existing node key. Backs up the old key first, but the old node is orphaned.
parallelix.nodenode · init
$parallelix-node init
node key generated~/.parallelix/node.key · 0600
config written~/.parallelix/config.json
register on-chain (Console), using:
tier 3 (GPU · high)
nodeKeyHash0x9c27a4f1...e83b
KEYSECP256K1PERMS0600WALLETSEPARATE// sample
init
parallelix-node init
parallelix-node models
parallelix-node models [pull <name>] [catalog] [recommend]

Lists the models installed in the local Ollama runtime, pulls one, shows the curated catalog, or recommends the best fit for the machine. Installed models are advertised in heartbeats; the ParalleliX AI model picker lists what online nodes serve.

  • pull <name> Pull a model into Ollama. First pull downloads it. Bare `models` just lists installed models.
  • catalog List the curated model catalog with VRAM requirements (llama3.2 3B/4GB through llama3.3:70b 40GB).
  • recommend Recommend the largest model fitting 90% of VRAM (50% RAM on CPU). Any Ollama model works; the recommendation is a starting point.
parallelix.nodenode · models
$parallelix-node models
qwen2.5:14b11 GB · ready
llama3.2
$parallelix-node models recommend
recommend qwen2.5:14bfits 90% VRAM
RUNTIMEOLLAMAMODELSOSSREADY2// sample
models
parallelix-node models
parallelix-node start
parallelix-node start [--node-id <id>] [--gpu|--cpu] [--model m] [--plain]

Runs the daemon in the foreground: attaches to the on-chain node, sends signed liveness heartbeats every 10s (your uptime), polls for dispatched inference requests, runs each whole through Ollama, and returns the result with a SHA-256 Proof-of-Execution. Shows a TTY dashboard (status, models, lifetime earnings, request feed) unless --plain or a pipe is detected. Self-stops cleanly on not_staked or in_cooldown. Tolerates transient 403s for ~5 minutes. Drains on SIGINT / SIGTERM.

  • --node-id <id> The on-chain nodeId. Optional if setup already saved it to config.
  • --gpu | --cpu Force the execution mode. Defaults to gpu when a GPU is detected.
  • --model m Prefer a specific installed model.
  • --plain Force line output instead of the TTY dashboard. Used automatically under systemd or pipes.
parallelix.nodenode #4217 · start
$parallelix-node start --gpu
daemon upheartbeating + serving
node onlinenodeId #4217
serving inference · qwen2.5:14b (open-source)
proof-of-executionsha256 per result
earnings 8.42 PRLX lifetime
STATEACTIVEPOESHA-256REWARDSSTREAMING// sample
start
parallelix-node start --gpu
parallelix-node service
parallelix-node service [--node-id <id>] [--gpu|--cpu]

Installs the node as a managed background service that survives logout and reboot and auto-restarts on failure: systemd on Linux (ordered after ollama.service, Restart=on-failure), launchd on macOS. On Windows, run the node inside WSL2 where the Linux path applies.

  • --node-id <id> The on-chain nodeId. Optional if setup already saved it to config.
  • --gpu | --cpu Force the execution mode for the installed service.
parallelix.nodenode · systemd
$parallelix-node service --gpu
installed + startedservice 'parallelix-node'
logs: journalctl -u parallelix-node -f
stop: sudo systemctl stop parallelix-node
survives rebootrestart on failure
MANAGERSYSTEMDORDERAFTER OLLAMABOOTENABLED// sample
service
parallelix-node service --gpu
parallelix-node update
parallelix-node update

Checks parallelix.io/cli/manifest.json for a newer version, downloads it, verifies the sha256 checksum, gates on a node --check (confirms Node version is compatible), then performs an atomic swap: old binary backed up as .bak, new binary swapped in. Aborts untouched on any checksum mismatch.

parallelix.nodenode · update
$parallelix-node update
current v2.0.0
latest v2.1.0
sha256 verified
node --check passed
swapped.bak saved
FROM2.0.0TO2.1.0VERIFYSHA-256// sample
update
parallelix-node update
parallelix-node verify
parallelix-node verify

Runs diagnostics with remediation hints: Node version, node key presence and permissions, config validity, detected tier, Ollama running, models installed, and coordinator reachability. Exits non-zero if any check fails.

parallelix.nodenode · verify
$parallelix-node verify
node v22.x
node key presentperms 600
ollama runningv0.x
model qwen2.5:14b installed
coordinator reachable
all checks passedready to start
CHECKS6 / 6EXIT0READYYES// sample
verify
parallelix-node verify
parallelix-node status
parallelix-node status

Prints the local node state from the config: node address, nodeKeyHash, nodeId (if saved), tier, coordinator URL, Ollama URL, and the staking contract address.

parallelix.nodenode · status
$parallelix-node status
node address 0x4b1c…9af2
nodeKeyHash0x9c27a4f1…e83b
nodeId 4217
tier 3
coordinator https://coordinator.parallelix.io
TIER3COORDREACHABLECONFIGVALID// sample
status
parallelix-node status
parallelix-node logs
parallelix-node logs

Prints the last lines of the node log at ~/.parallelix/node.log: starts, served requests with PoE prefixes, heartbeat status, and exit reasons. Under systemd, use journalctl -u parallelix-node -f for a live feed.

parallelix.nodenode · logs
$parallelix-node logs
start node=4217 mode=gpu model=qwen2.5:14b
heartbeat okseq 141
served req_a3f1ms=47 · poe=0x4f9c…
SOURCEnode.logPOEPER-REQHEARTBEATOK// sample
logs
parallelix-node logs
parallelix-node version
parallelix-node version

Prints the CLI version. The reference version documented here is 2.0.0.

parallelix.nodenode · version
$parallelix-node version
2.0.0reference build
CLI2.0.0POEv1CHANNELSTABLE// sample
version
parallelix-node version