# Installing Redis — Redis

Source: https://www.geekswithgeeks.com/en/redis/redis-install

> Get a Redis server running locally.

## Install the server

Package managers cover most platforms, or run it in Docker with zero setup.

```bash
# Ubuntu/Debian
sudo apt install redis-server

# macOS
brew install redis

# Docker (any OS)
docker run -d --name redis -p 6379:6379 redis:7
```

## Start & verify

`PING` is the health check — a working server always replies `PONG`.

```bash
redis-server --daemonize yes
redis-cli PING
```

Output:

```
PONG
```
