Skip to content

Instantly share code, notes, and snippets.

@btbytes
Created September 10, 2010 06:09
Show Gist options
  • Select an option

  • Save btbytes/573185 to your computer and use it in GitHub Desktop.

Select an option

Save btbytes/573185 to your computer and use it in GitHub Desktop.

If this is your first install, automatically load on login with:

cp /usr/local/Cellar/redis/2.0.0/io.redis.redis-server.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist

If this is an upgrade and you already have the io.redis.redis-server.plist loaded:

launchctl unload -w ~/Library/LaunchAgents/io.redis.redis-server.plist
cp /usr/local/Cellar/redis/2.0.0/io.redis.redis-server.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist

To start redis manually:

redis-server /usr/local/etc/redis.conf

To access the server:

redis-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment