RediCLI

Terminal Redis manager, 2025, built in 48 hours

RediCLI add-connection form in the terminal
RediCLI terminal session with keys, console and logs
RediCLI welcome screen
RediCLI analytics dashboard charting key types, expirations, memory usage and key count

Overview

RediCLI is a powerful terminal-based tool built with Go for optimizing Redis performance. It features an interactive TUI, command auto-completion, real-time analytics, and advanced key management. With multi-instance support, data import and export, and a color-coded interface, it streamlines Redis administration with speed and efficiency.

Optimized for fast execution, low-latency Redis interactions, and real-time analytics.

Install

$ sudo snap install redicli --edge

Built with

Go, Redis, tview, go-redis, fuzzysearch, WebSockets

What it does

Commands

Basic

  • get <key> retrieve the value of a key
  • set <key> <value> set the string value of a key
  • del <key> delete a key
  • keys <pattern> find all keys matching a pattern
  • ttl <key> get the time to live for a key
  • expire <key> <seconds> set a key's time to live in seconds

Advanced

  • key filter set open form to set a key with TTL in milliseconds
  • key filter update open form to update a key with KEEPTTL option
  • flushall delete all keys (use with caution)
  • see analytics open analytics dashboard in browser

Data

  • import import data from CSV/XLSX file
  • export export data to CSV file
  • import ./path/to/file.csv direct import from file path
  • export ./path/to/file.csv direct export to file path

Connection

  • add connection add and connect to a new Redis instance
  • view all connections list all saved Redis connections
  • connect <name> connect to a saved Redis connection
  • del connection <name> delete a specific saved connection
  • del all connections delete all saved connections

Interface

  • clear all clear console and logs screen
  • clear logs clear logs screen
  • clear display clear display screen
  • help display help information
  • quit exit RediCLI

Shortcuts

  • Tab: cycle through command suggestions
  • Up and Down arrows: navigate command history
  • Enter: execute command