How to setup redis on Arch Linux?

Install

yay -S redis

Enable / Start

sudo systemctl enable redis.service
sudo systemctl start redis.service

optionally check status

sudo systemctl status redis.service

start cli and check if redis server respond to ping

redis-cli
127.0.0.1:6379> ping
PONG