Shin Code log

Logs of solution for code
January 04, 2021

Install Redis on Mac Without Homebrew

Install Redis on Mac Without Homebrew

To install Redis without Homebrew, use the following commands:


mkdir redis && cd redis
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
make test
sudo make install

Where:
- mkdir redis && cd redis – Creates a folder called ‘redis’ and moves you to the newly created folder.
- curl -O http://download.redis.io/redis-stable.tar.gz – Downloads the Redis installation archive.
- tar xzvf redis-stable.tar.gz – Unpacks the ‘redis-stable‘ installation archive.
- cd redis-stable – Moves you to the ‘redis-stable’ folder.