Skip to content

Instantly share code, notes, and snippets.

@nakaz
Last active August 12, 2017 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakaz/62c906c87d1a42503043a17ccd615e66 to your computer and use it in GitHub Desktop.
Save nakaz/62c906c87d1a42503043a17ccd615e66 to your computer and use it in GitHub Desktop.

Installing Redis

A very basic and quick TLDR; installation of redis for OSX and Linux users.

MacOS/OSX

$ brew install redis

Linux (Ubuntu)

$ sudo apt-get install redis-server

Test and run!

You'll need two terminal sessions. One to run redis-server the other to run redis-cli.

In the redis-cli prompt... When you type ping, you should get a pong back!

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