Installing Redis on Mac OS

Installing Redis is really simple on a Mac OS. Follow these steps and you are good to go:

  1. Download the package from Internet. For this, you can use the following command: wget http://download.redis.io/releases/redis-2.8.3.tar.gz
  2. Untar the compressed tar xzf redis-2.8.3.tar.gz file.
  3. This will create a folder; go to the folder by issuing the cd redis-2.8.3 command.
  4. Compile the file by issuing the make command. This will compile the binaries and create a folder structure, as shown in the following screenshot:
    Installing Redis on Mac OS

    Folder structure for a Mac distribution

  5. Type the src/redis-server command; this will start the server, as shown in the following ...

Get Learning Redis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.