install the redis server code example Example 1: redis cache start sudo /etc/init.d/redis_6379 start Example 2: install redis brew install redis