- Docker (recommended)
- Native build
Pull and run the container
Pull the official image and start RadishDB in server mode:RadishDB binds to
0.0.0.0:6379 and begins accepting connections immediately.All data is persisted to
/app/aof/radish.aof inside the container. The named volume radish-data ensures your data survives container restarts and removals.Connect with netcat
Open a connection to the running server:You are now in a raw TCP session. Type commands and press Enter — RadishDB replies on the same connection.
Run your first commands
Try a basic set, get, and TTL-aware write:
TTL returns the remaining seconds until expiry (as a plain integer). Once a key expires, GET returns (nil).What to explore next
Docker Compose
Run RadishDB as a managed service with automatic restarts and named volumes.
Command reference
Full syntax for SET, GET, DEL, TTL, COUNT, BENCH, INFO, and more.
Persistence
Understand how the AOF log keeps your data safe across restarts.
Architecture
See how the engine, REPL, and TCP server fit together.