- Install Redis
brew install redis - Start it now and on every login
brew services start redis
Check it worked
- Ping it
redis-cli pingYou should see PONG.
Undo it
- Stop and uninstall
brew services stop redis && brew uninstall redis
- Install RedisNeeds sudo
sudo apt install -y redis-server - Start it now and on every bootNeeds sudo
sudo systemctl enable --now redis-server
Check it worked
- Ping it
redis-cli pingYou should see PONG.
Undo it
- Uninstall RedisNeeds sudo
sudo apt remove -y redis-server
- Run Redis in Docker
docker run --name redis -p 6379:6379 -d redisRedis has no official Windows version, so Docker is the easy way. Install Docker first.
Check it worked
- Ping it
docker exec -it redis redis-cli pingYou should see PONG.
Undo it
- Remove the container
docker rm -f redis