Installation & Setup in Redis
From the Redis cheat sheet · Installation & Basics · verified Jul 2026
Installation & Setup
Installing Redis on different platforms
bash
# Ubuntu/Debian
sudo apt update
sudo apt install redis-server
# macOS with Homebrew
brew install redis
# Docker
docker run -d -p 6379:6379 redis
# Start Redis server
redis-server
# Connect with CLI
redis-cli⚡ In-memory data store for high performance
📦 Available in most package managers
🔧 Default port 6379
💾 Optional persistence with AOF/RDB