Installation
Install the Lium CLI and sign in.
Requirements
- Linux or macOS (
amd64orarm64). On Windows, use WSL or the Python package. - An SSH client (
ssh,scp,rsync). - Python 3.10 to 3.14, only if you install with
pip.
Install
Binary install (recommended)
No Python needed:
curl -fsSL https://lium.io/install.sh | bash
Then restart your shell and check:
exec $SHELL -l # or: source ~/.bashrc / ~/.zshrc
lium --version
To pin a version:
curl -fsSL https://lium.io/install.sh | LIUM_VERSION=0.0.7 bash
To upgrade, run the install command again.
Python package
Also gives you the Python SDK:
pip install lium.io
Upgrade with pip install --upgrade lium.io (installed with uv tool install lium.io: uv tool upgrade lium.io; pip does not upgrade a uv tool copy, it installs a second one). Run lium --version afterwards: the version it shows is the copy your shell runs. Provider commands (lium fund, lium provider) need the extra:
pip install "lium.io[provider]"
From source
git clone https://github.com/Datura-ai/lium.git
cd lium
pip install -e .
Sign in
No account yet
lium signup --email you@example.com
This creates the account, saves the API key and sets up an SSH key. See lium signup.
Existing account
lium init
The wizard asks for your API key and SSH key.
Without the wizard
Edit ~/.lium/config.ini:
[api]
api_key = your-api-key-here
[ssh]
key_path = /path/to/your/ssh/key
Or use environment variables, for example in CI:
export LIUM_API_KEY=your-api-key-here # api.api_key
export LIUM_SSH_KEY_PATH=/path/to/ssh/key # ssh.key_path
Check it works
lium --version # confirm install
lium config show # confirm config
lium ls # list available nodes