Created
April 19, 2018 06:57
-
-
Save kevinjam/fe1ca3d13f6aba0f571c18f357573788 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to Install Redis On Mac Using Homebrew | |
``` | |
brew update | |
brew install redis | |
``` | |
To have launchd start redis now and restart at login: | |
``` | |
brew services start redis | |
``` | |
Or, if you don't want/need a background service you can just run: | |
``` | |
redis-server /usr/local/etc/redis.conf | |
``` | |
Test if Redis server is running. | |
``` | |
redis-cli ping | |
``` | |
If it replies “PONG”, then it’s good to go! | |
Location of Redis configuration file. | |
``` | |
/usr/local/etc/redis.conf | |
``` | |
Uninstall Redis and its files. | |
``` | |
brew uninstall redis | |
rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment