Redis: getting started and basics

Redis is a key/value in-memory datastore. The Getting Started guide will get you up and running pretty quick.

Startup:

./redis-server

CLI:

./redis-cli

From cli, inserting a value:

set key value

Get a value:

get key

List keys:

keys pattern

List all keys, not recommended against a large prod database:

keys *

One Reply to “Redis: getting started and basics”

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.