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​
| Flag | Effect |
|---|---|
--hotkey, -k SS58 | Miner hotkey SS58 address |
--dir, -d PATH | Target directory (default: compute-subnet) |
--branch, -b NAME | Branch to clone (default: main) |
--auto, -a | Non-interactive — auto-detect GPU/IP and use defaults |
--verbose, -v | Show 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​
- Provider node quickstart — full setup guide
lium gpu-splitting— enable multi-tenant rental on the same nodelium provider— provider portal authentication and status