dev-resources.site
for different kinds of informations.
How to Install and Run Redis Directly on macOS (Without Homebrew)
Published at
1/7/2025
Categories
redis
cli
Author
allahisrabb
Author
11 person written this
allahisrabb
open
To install Redis without using Homebrew on my macOS, I had to build it from source. Hereโs how I did it:
- I installed Xcode Command Line Tools by running (in my terminal):
xcode-select --install
- I downloaded the Redis Source Code by running:
curl -O https://download.redis.io/releases/redis-6.2.11.tar.gz
You can always check Redis releases to download any of your choice.
- I extracted the file I downloaded by running:
tar -xvzf redis-6.2.11.tar.gz
cd redis-6.2.11
- I did run the
make
command to compile Redis:
make
- After the build and compilation was executed successfully, I proceeded to installing Redis:
sudo make install
- I started the Redis server manually:
redis-server
- I opened another terminal and connected to the Redis server by running the following:
redis-cli
- To verify it was working, I did run the
PING
command:
PING
As expected, I got the PONG
response.
I hope it helps. Thanks for reading ๐
redis Article's
30 articles in total
Protect Your APIs from Abuse with FastAPI and Redis
read article
Token Bucket Rate Limiter (Redis & Java)
read article
A Simple Guide to Connect to Amazon ElastiCache Redis from Outside of Amazon
read article
Caching in Node.js: Using Redis for Performance Boost
read article
How to Install and Run Redis Directly on macOS (Without Homebrew)
currently reading
Install Redis Locally in Windows
read article
Redis: Powering Real-Time Applications with Unmatched Performance
read article
Why does clustering with redis suck?
read article
Fixed Window Counter Rate Limiter (Redis & Java)
read article
Redis Data Structures
read article
Pub-sub Redis in Micronaut
read article
Real-Time Data Indexing: Powering Instant Insights and Scalable Querying
read article
How to Implement Caching in PHP and Which Caching Techniques Are Best for Performance?
read article
tnfy.link - One more shortener?
read article
Lettuce - A Java Redis Client
read article
Introducing keyv-upstash: Seamless Key-Value Storage for Serverless Redis
read article
Sherlock Holmes: The Case Of Redis Overload During a DDoS Attack
read article
Real-Time Location Tracking with Laravel and Pulsetracker's Redis Pub/Sub
read article
Redis Cache - A String story
read article
Working on Redis streams? Don't forget these commands.
read article
Caching with Redis for Backend in Apache Superset
read article
Redis Queue and Cron in Go
read article
Infinite redis request
read article
Rate limiting with Redis: An essential guide
read article
What do 200 electrocuted monks have to do with Redis 8, the fastest Redis ever?
read article
FLAIV-KING Weekly (Flink AI Vectors Kafka) for 18 Nov 2024
read article
Building a Real-Time Flask and Next.js Application with Redis, Socket.IO, and Docker Compose
read article
Spring Boot + Redis: A Beginner-Friendly Guide to Supercharging Your Appโs Performance
read article
Boosting Speed and Performance with Advanced Caching in NestJS: How to Use AVL Trees and Redis
read article
I used GitHub as a CMS
read article
Featured ones: