redis getting started code example Example 1: check that redis is running $ redis-cli ping PONG Example 2: install redis brew install redis