Skip to content

Instantly share code, notes, and snippets.

@feelinc
Last active December 18, 2015 08:29
Show Gist options
  • Save feelinc/5754269 to your computer and use it in GitHub Desktop.
Save feelinc/5754269 to your computer and use it in GitHub Desktop.
Mac:
brew install redis
To have launchd start redis at login:
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
Then to load redis now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Or, if you don't want/need launchctl, you can just run:
redis-server /usr/local/etc/redis.conf
------------------------------------------------------------------------------------------
Automatically load on login with:
launchctl load -w /usr/local/Cellar/redis/2.2.2/io.redis.redis-server.plist
To access the server:
redis-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment