Redis – Getting Started

Install redis in mac

Install redis 

$ brew install redis

To start the server, just type ‘redis-server’
$ redis-server

Go to redis-cli & test the installation by store & get a key-value pair,
$ redis-cli

127.0.0.1:6379> set mykey myvalue-for-the-key
OK
127.0.0.1:6379> get mykey
“myvalue-for-the-key”
127.0.0.1:6379>

Published