Redis Command Line
redis-cli -h 127.0.0.1 -p 6379
List keys
keys *
Show Value Key
mget "nameOfYourKey"
redis-cli -h 127.0.0.1 -p 6379
keys *
mget "nameOfYourKey"
redis-cli FLUSHALL
#1 inst all Redis on your mac as follow
brew install redis
$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
$ redis-server /usr/local/etc/redis.conf
$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
/usr/local/etc/redis.conf
$ brew uninstall redis
$ rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
$ brew info redis
$ redis-cli ping