To install the latest version of Redis Community Edition using Homebrew Cask, please use the following command:
brew tap redis/redis
brew install --cask redis
For pre-release versions, you can use the following command. Note that this will install the latest pre-release version and override the stable version:
brew tap redis/redis
brew install --cask redis-rc
Redis officially tests the latest version of this distribution against the following OSes:
- macOS 15 (Sequoia)
- macOS 14 (Sonoma)
- macOS 13 (Ventura)
After installation, you can start Redis using the following command:
redis-server
If you want to start Redis in the background, you can use the following command:
redis-server $(homebrew --prefix)/etc/redis.conf