462 B
462 B
Redis
Assume you use Archlinux.
Read Redis.
After install redis
, start service:
systemctl start redis.service
Otherwise use docker:
docker run -d -p 6379:6379 --name redis redis:alpine
redis-cli
Connect:
redis-cli -h localhost -p 6379
After connect
Get all keys:
KEYS *
Delete all keys:
FLUSHALL
Read Commands.