Skip to main content

lium mine

Bootstrap a Lium provider node end-to-end: install prereqs, clone compute-subnet, set up the executor environment, and bring it online.

lium mine [OPTIONS]

This is the same workflow that https://lium.io/mine.sh uses under the hood. Run it directly if you've already installed the CLI.

Options​

FlagEffect
--hotkey, -k SS58Miner hotkey SS58 address
--dir, -d PATHTarget directory (default: compute-subnet)
--branch, -b NAMEBranch to clone (default: main)
--auto, -aNon-interactive — auto-detect GPU/IP and use defaults
--verbose, -vShow the plan banner before executing

Examples​

# One-shot installer (this is what mine.sh runs)
curl -fsSL https://lium.io/mine.sh | bash -s -- -k <your_provider_hotkey_ss58>

# Direct CLI invocation
lium mine -k <your_provider_hotkey_ss58>
lium mine -k <hotkey> --auto # No prompts
lium mine -k <hotkey> -b staging # Use the staging branch
lium mine -k <hotkey> -d /opt/compute-subnet # Custom install path

See also​