What is the CLI
The Rumi CLI is a command-line interface tool that provides a unified interface for managing Rumi applications and infrastructure. It consolidates various operational and development tools into a single, easy-to-use command-line utility.
Overview
The Rumi CLI (rumi) is the primary tool for:
Deploying Private Clouds: Provision and deploy Rumi private cloud environments across different platforms (local, AWS, Civo, bare metal)
Operating Applications: Administer, monitor and troubleshoot running microservices
Quickstart Support: Create quickstart applications for tutorials and learning
Application Development: Perform development activities on your Rumi applications - add/remove services, messages, handlers, and more
Key Features
Unified Tooling
The CLI consolidates multiple tools that were previously separate in X Platform (examples):
Transaction Log Tool →
rumi tools tlt- Query and analyze transaction logsStats Dump Tool →
rumi tools hbdump- Dump container heartbeats and statisticsAdmin Tool →
rumi tools admin- Administrative operations on running microservicesDiscovery Tool →
rumi tools discovery- Service discovery operationsAnd more...
Cloud Management
Deploy and manage Rumi private clouds across multiple platforms (examples):
Local Development →
rumi cloud local- Run Rumi on your development machineAWS Deployment →
rumi cloud aws- Deploy to Amazon Web ServicesCivo Deployment →
rumi cloud civo- Deploy to Civo cloud ⚠️ In DevelopmentBare Metal → Configure and deploy to physical infrastructure
And more...
Quickstart
Bootstrap quickstart applications for tutorials:
Creates quickstart application projects with:
Sample microservice code
ADM message and state models
Configuration templates
Build and deployment scripts
Application Development
⚠️ In Development: The
rumi devcommand is currently in development and is subject to change.
Perform development activities on your Rumi applications. Example commands include:
Incrementally evolve your applications by managing:
Microservices
Messages and state entities
Message handlers
Configuration
And more...
See the dev command reference for the complete set of development commands.
Command Structure
The CLI follows a hierarchical command structure:
Example commands:
Global Flags
The following flags can be used with any rumi command:
--3x
Enable X Platform 3.x compatibility mode. Required when working with X Platform 3.x logs, containers (XVMs), or any 3.x artifacts or components.
--extra-jars <jars>
Comma-separated list of additional JAR files to add to the classpath. Useful for loading application-specific message factories when analyzing logs.
Examples:
Environment Variables
RUMI_CLI_JAVA_HOME
Path to a Java 11+ installation. Used if java on PATH is missing or too old.
JAVA_OPTS
Additional JVM options to pass to the CLI. Cannot override required internal flags.
Examples:
Installation
The Rumi CLI is available for macOS and Linux (Windows via WSL):
System-wide installation (recommended):
User-local installation (no sudo):
Verify installation:
See Installation for detailed installation instructions, prerequisites, and troubleshooting.
Getting Started
Install the CLI: Follow the Installation guide
Run Quickstart: Create your first application with
rumi quickstartDeploy Locally: Test your application with
rumi cloud local startExplore Commands: Browse the Commands reference
Comparison with X Platform Tools
xtxnlogtool
rumi tools tlt
Transaction log queries
xstats
rumi tools hbdump
Heartbeat and stats dumps
Admin Tool
rumi tools admin
Administrative operations
Discovery Tool
rumi tools discovery
Service discovery
(Various scripts)
rumi cloud
Cloud deployment and management
Next Steps
Installation - Install the Rumi CLI
Commands Reference - Browse all available commands
Quickstart - Create your first application
Cloud Commands - Deploy to different environments
Last updated

