5

Brew install Redis on Mac

 1 year ago
source link: https://gist.github.com/tomysmile/1b8a321e7c58499ef9f9441b2faa0aa8
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Brew install Redis on Mac · GitHub

Instantly share code, notes, and snippets.

Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis

to stop it, just run:

brew services stop 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

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK