how to start redis server on mac code example Example 1: start redis server $ redis-server Example 2: install redis brew install redis