Brew services is automatically installed when run. Brew services start run redis brew services stop redis brew services restart redis If you use run, then it will not start it at login (nor boot). Start will start the redis service and add it at login and boot. Brew install redis Set up launchctl to auto start redis $ ln -sfv /usr/local/opt/redis/.plist /Library/LaunchAgents /usr/local/opt/redis/ is a symlink to /usr/local/Cellar/redis/x.y.z (e.g., 2.8.7).
Brew Redis Start Code
Redis is an open source, in-memory data structure store, used as database, cache and message broker. It is one of the most popular key-value nosql database. Also note that the name Redis means REmote DIctionary Server.
Brew Redis Start Up Page
Here are installation steps for redis on Mac using brew.
- Get redis package info
- Install redis using brew
- List installed files
- In case you want to start redis at login add symlink in ~/Library/LaunchAgents. Note that it will start redis as current user. This info can also be obtained by command
- To start redis one time as current user:
- View redis config
- View redis log
- Look at redis db file
- Try out few redis-cli commands
You may also want to visit redis cli quick start tutorial