Installation¶
Requirements¶
- Python 3.11+
- Slurm with
sacctcommand available
Install with uv (recommended)¶
uv is the fastest way to install Python CLI tools:
This installs slurmq globally, isolated from your project environments.
Install with pip¶
Install with pipx¶
Install from source¶
Verify installation¶
System-wide installation (HPC)¶
For HPC environments where users don't have write access to their home directories, administrators can install slurmq system-wide:
# As root or with sudo
pip install --prefix=/opt/slurmq slurmq
# Add to system PATH in /etc/profile.d/slurmq.sh
export PATH="/opt/slurmq/bin:$PATH"
Then create a system-wide config at /etc/slurmq/config.toml.
Shell completion¶
slurmq supports shell completion for bash, zsh, and fish: