Installation
The redu CLI is distributed as a Python package and (on Linux) as a Debian package.
Before installing the CLI, make sure your system meets the required prerequisites. Then choose the installation method that fits your operating system and workflow.
System requirements
The redu CLI relies on standard system tools.
Python
- Python 3.9 or newer is required
- Verify:
python3 --version
OpenSSL (required)
OpenSSL is used to generate SSH keys during authentication.
Check if OpenSSL is installed:
openssl versionIf not installed, follow the steps below.
Linux (Debian / Ubuntu)
sudo apt update
sudo apt install -y opensslLinux (RHEL / CentOS / Rocky / Alma)
sudo dnf install -y opensslmacOS
Using Homebrew:
brew install opensslWindows
Install one of the following:
- OpenSSL for Windows
- Git for Windows (includes OpenSSL)
Verify:
openssl versionOpenSSH (required)
The CLI uses the system SSH client for redu ssh.
Most systems have OpenSSH installed by default.
Verify:
ssh -VIf missing:
-
Linux:
sudo apt install -y openssh-client -
macOS: preinstalled
-
Windows: install OpenSSH Client (Windows optional feature)
Option 1 (recommended): pipx
pipx installs redu as a global command in an isolated environment, without
affecting your system Python.
This is the recommended method for most users.
Linux (Debian / Ubuntu)
sudo apt update
sudo apt install -y pipx
pipx ensurepathRestart your terminal (or run source ~/.profile), then install:
pipx install reduVerify:
redu --helpmacOS
Install pipx using Homebrew:
brew install pipx
pipx ensurepathRestart your terminal, then install:
pipx install reduVerify:
redu --helpWindows
Install pipx using pip (Python 3.9+ required):
python -m pip install --user pipx
python -m pipx ensurepathRestart your terminal (PowerShell or CMD), then install:
pipx install reduVerify:
redu --helpOption 2: Python virtual environment (portable)
Use this method if you cannot use pipx or want full control over isolation.
Works on Linux, macOS, and Windows.
python3 -m venv ~/redu-venv
source ~/redu-venv/bin/activate
pip install -U pip
pip install reduVerify:
redu --helpDeactivate when finished:
deactivateOn Windows, activate with:
.\redu-venv\Scripts\activate
Option 3: Debian / Ubuntu (.deb)
If you prefer a system package on Debian-based systems:
wget https://redu.cloud/downloads/cli/latest/redu_1.0.0.deb
sudo apt update
sudo apt install -y ./redu_1.0.0.debVerify:
redu --helpUpdating
How you update depends on how you installed the CLI.
pipx
pipx upgrade reduPython virtual environment
pip install -U reduDebian (.deb)
sudo apt install -y ./redu_<NEW_VERSION>_amd64.debUninstalling
pipx
pipx uninstall reduPython virtual environment
Delete the virtual environment directory.
Debian (.deb)
sudo apt remove reduNext steps
Once installed, continue with:
- Authentication (
redu auth) - Server management (
redu server) - Networking (
redu network) - Images (
redu image) - SSH helpers (
redu ssh)
Each command group has dedicated documentation with examples and flags.