DEV Community

Cover image for Installing and setting up Redis server for Mac OS.
systemsruminator
systemsruminator

Posted on • Originally published at binaryruminations.hashnode.dev on

1

Installing and setting up Redis server for Mac OS.

Homebrew is one of the nifty command line tools available in Mac OS for quickly and seamlessly installing and configuring development tools.

So let's get a redis server up and running locally in 4 simple steps!

Installation

  • $ brew install redis There will be some info about caveats regarding configuration. You can read and leave it for now.

With this simple command, redis is installed on your mac.

Configuring Redis

Location of Redis configuration file.

$ usr/local/etc/redis.conf

Get Redis package information

$ brew info redis

Launch Redis when system boots up

$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents

Starting Redis server via “launchctl”

$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Starting Redis server using configuration file

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

Stop Redis on autostart on computer start

$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Uninstall Redis and its files

$ brew uninstall redis

$ rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Test if Redis server is running

$ redis-cli ping

If it replies PONG , then you are good to go!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (1)

Collapse
 
biswabijaya profile image

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more