redis-viewer is a terminal UI for browsing Redis keys and inspecting values.
Built with Bubble Tea.
- Browse Redis keys in a terminal UI
- Inspect
string,hash,list,set, andzsetvalues - Search keys with Redis
SCANmatch patterns - Paginate through matched keys
Requires Go 1.25 or newer:
go install github.com/saltfishpr/redis-viewer@latestDownload a release from GitHub Releases.
Show help:
redis-viewer --helpRun with the default config file:
redis-viewerRun with a specific config file:
redis-viewer --config ./redis-viewer.yamlDefault config path:
$HOME/.redis-viewer.yaml
Example:
addrs:
- 127.0.0.1:6379
db: 0
username: ""
password: ""
# Used for sentinel mode.
master_name: ""
# Number of keys shown per page.
page_size: 20- Single node: set one address in
addrs - Cluster: set multiple cluster node addresses in
addrs - Sentinel: set sentinel addresses in
addrsand setmaster_name
| Key | Action |
|---|---|
Ctrl+C |
Quit |
↑ / ↓ |
Move selection |
← |
Previous page |
→ |
Next page |
r |
Reload current page |
s |
Enter search mode |
Enter |
Apply current search |
Esc |
Cancel search mode |
- Only
string,hash,list,set, andzsetare rendered - Unsupported key types are shown as errors in the item detail
- Windows system requires terminal encoding to be set to
UTF-8
