Installation on Arch Linux
The redis package was removed from the official extra repository (deprecated and moved to the AUR since April 2025) in favor of Valkey, the open source fork (BSD license) born from Redis's license change in March 2024. Valkey is a drop-in replacement: same protocol, same configuration and data format. Install it with sudo pacman -S valkey. On Arch, packages track the pace of upstream releases (rolling release), so you generally get a recent version.
If you specifically want genuine Redis, it remains available via the AUR (for example the redis package), at the cost of a local build; remember to inspect the PKGBUILD before building.
Enabling the service
Like most Arch packages, the service is neither started nor enabled after installation: it is up to you to do so. Use sudo systemctl enable --now valkey to start it and enable it at boot in a single command. The unit is called valkey. Verify connectivity with valkey-cli ping (response PONG).
Configuration
The configuration is in /etc/valkey/valkey.conf and the data in /var/lib/valkey. By default, the server only listens on the loopback interface. Before any network exposure, set requirepass and restrict access via the firewall. Uninstalling with pacman -Rns removes the package and its orphaned dependencies, but keeps the data in /var/lib/valkey: delete this directory manually if you want to start fresh.