Back to projects
RediCLI

RediCLI

GoLangRedistviewgo-redisfuzzysearchwebsocket
2025 48 HOURS
RediCLI screenshot 1RediCLI screenshot 2RediCLI screenshot 3RediCLI screenshot 4

Installation

sudo snap install redicli --edge

Shortcuts

  • Tab - Cycle through command suggestions
  • Up/Down Arrows - Navigate command history
  • Enter - Execute command

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/export, and a color-coded interface, it streamlines Redis administration with speed and efficiency.

Key features

  • Interactive terminal interface
  • Command auto-completion and suggestions
  • Built-in analytics dashboard
  • Import/Export data from CSV and XLSX files
  • Advanced key management with TTL support
  • Connection management for multiple Redis instances
  • Color-coded interface for better readability

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

Performance

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