Installation
This guide covers everything you need to install and configure the Rumi CLI on your system.
Platform Support
The Rumi CLI officially supports macOS and Linux. Windows users can run the CLI via WSL (Windows Subsystem for Linux).
Windows users: Click here for WSL setup instructions
Setting up WSL for Windows
If you don't already have WSL installed, follow these steps:
Install WSL: Open PowerShell or Windows Command Prompt in administrator mode and run:
wsl --installThis will install Ubuntu by default.
Restart your computer when prompted
Launch WSL: Open the Start menu, search for "Ubuntu" (or your chosen Linux distribution), and click to launch
Complete initial setup: Create a username and password when prompted
Once WSL is installed and running, continue with the installation instructions below (WSL provides a Linux environment, so follow the Linux instructions).
For more details, see Microsoft's WSL installation guide.
Tip: Consider using Windows Terminal for a better terminal experience.
Prerequisites
Before installing the Rumi CLI, ensure your system meets the following requirements.
Java 11+
The Rumi CLI requires Java 11 or newer to run.
Verify Java installation:
java -versionYou should see version 11.x.y or higher. If not, download and install Java from:
Using RUMI_CLI_JAVA_HOME (Optional)
If you cannot add Java 11+ to your system PATH, you can set the RUMI_CLI_JAVA_HOME environment variable to point to your Java 11+ installation:
The Rumi CLI looks for Java in this order:
If
javais in PATH and is version 11+, use itOtherwise, if
RUMI_CLI_JAVA_HOMEis set and points to Java 11+, use itOtherwise, exit with an error
Docker (Required for Local Deployments)
Local deployments require Docker Desktop installed and running.
Requirements:
Docker Desktop 4.0+ (or Docker Engine 20.10+ on Linux)
Docker daemon running and accessible
8GB+ RAM available
20GB+ free disk space
Verify Docker installation:
Download Docker Desktop:
On macOS and Windows, ensure Docker Desktop is started before running rumi commands for local deployments. The Docker daemon must be running.
AWS Setup (Required for AWS Deployments)
If you plan to provision Rumi private clouds in AWS, you'll need to configure AWS access.
Complete AWS setup guide: See AWS Setup for detailed instructions on installing the AWS CLI and configuring authentication using IAM credentials, IAM Identity Center (SSO), or other AWS authentication methods.
Installing the Rumi CLI
The Rumi CLI can be installed system-wide (requires sudo) or user-local (no sudo required).
System-wide Installation (Recommended)
System-wide installation places the CLI in /usr/local/bin and requires sudo:
This makes the rumi command available to all users on the system.
Install a specific version:
User-local Installation (No sudo)
If you don't have sudo access or prefer a user-local installation:
This installs the CLI to $HOME/.local/bin.
Important: If you see a message about $HOME/.local/bin not being on your PATH, add it to your shell profile:
Then reload your shell configuration:
Verifying Installation
After installation, verify the CLI is working:
Expected output:
Updating the CLI
To update to the latest version, re-run the installation command:
System-wide update:
User-local update:
The installer will detect the existing installation and upgrade it.
Uninstalling the CLI
System-wide uninstall:
User-local uninstall:
Remove configuration (optional):
Troubleshooting
"java: command not found"
Problem: The CLI cannot find Java.
Solution:
Verify Java 11+ is installed:
java -versionIf not installed, install Java from the links above
If installed but not in PATH, set
RUMI_CLI_JAVA_HOME(see above)
"Docker daemon is not running"
Problem: Docker is not running (only affects local deployments).
Solution:
Start Docker Desktop (macOS/Windows)
Or start Docker daemon (Linux):
sudo systemctl start dockerVerify:
docker ps
AWS Configuration Issues
Problem: AWS credentials not configured or invalid (only affects AWS deployments).
Solution: See the AWS Setup guide for detailed AWS configuration and troubleshooting.
"Permission denied" during installation
Problem: Installation script needs elevated permissions.
Solution:
For system-wide install: Use
sudowith the install commandFor user-local install: Use the
--no-rootflag and ensure$HOME/.local/binis in your PATH
CLI command shows "command not found"
Problem: The CLI is not in your PATH.
Solution:
For system-wide install:
/usr/local/binshould be in PATH by defaultFor user-local install: Add
$HOME/.local/binto PATH (see above)Verify PATH:
echo $PATHReload shell:
source ~/.bash_profileorsource ~/.zprofile
Next Steps
Now that you have the CLI installed:
AWS Setup (Optional) — If you plan to deploy to AWS, see AWS Setup to configure AWS credentials
Explore commands — See CLI Commands for the command reference
Get started — Try the Quickstart to build your first Rumi application
Getting Help
If you encounter issues not covered in this guide:
Run
rumi helpfor command helpCheck the CLI Commands reference
Contact Rumi support
Last updated

