Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

2. Enter redisctl

The FIRST command-line tool for Redis Cloud and Enterprise

What is redisctl?

A unified CLI that eliminates fragile bash scripts with:

  • Type-safe API clients
  • Automatic async operation handling
  • Support package automation
  • Profile management with secure keyring
  • Structured output (JSON, YAML, Table)
  • Library-first architecture

Before vs After

Before: 50 Lines of Bash

curl + jq + while loops + manual polling + text parsing

After: One Command

redisctl cloud database create \
  --subscription 12345 \
  --data '{"name": "mydb", "memoryLimitInGb": 1}' \
  --wait

Key Benefits

Support Engineers:

  • Remote cluster management (no SSH)
  • Support package automation (10 min to 30 sec)
  • Scriptable diagnostics

DevOps Teams:

  • CI/CD integration (JSON output)
  • Multi-cluster management (profiles)
  • Automation-friendly

Developers:

  • Reusable libraries
  • Type-safe API clients
  • Build custom tools

Metrics

  • 50+ API handlers (21 Cloud + 29 Enterprise)
  • 85%+ test coverage
  • Cross-platform (macOS, Linux, Windows)
  • v0.6.5 released and actively maintained

The Impact

One command replaces 50 lines of fragile bash

redisctl cloud subscription list
redisctl enterprise database list
redisctl enterprise support-package cluster --upload

Previous: 1. The Problem
Next: 3. Installation & Setup