Skip to content

Instantly share code, notes, and snippets.

@mike-at-redspace
Last active September 2, 2022 17:45
Show Gist options
  • Save mike-at-redspace/fdb84a393c3366fa154addf2e53f6a73 to your computer and use it in GitHub Desktop.
Save mike-at-redspace/fdb84a393c3366fa154addf2e53f6a73 to your computer and use it in GitHub Desktop.
Install Redis

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

(Optional) Install Redis Insight

brew install --cask redisinsight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment