Valkey 9.2.0
The Linux Foundation fork of Redis, created when Redis moved to a source-available licence. Drop-in protocol and command compatibility, and the package most distributions now ship in place of Redis.
Download TAR.GZ Project website ↗Download Mirrors
Valkey 9.2.0 was released on November 19, 2026. The 9.1 and 9.0 lines remain supported, with 9.1.4 and 9.0.8 published the day before.
Valkey is the fork of Redis created when Redis changed from BSD to a source-available licence in 2024. It is maintained under the Linux Foundation with backing from several large users.
For practical purposes it is the same thing: same protocol, same commands, existing clients work unchanged. Most Linux distributions now ship Valkey, which is why apt install redis may install something called valkey, or nothing at all.
Our Valkey and Redis guide covers using it, and our licences guide covers why the fork happened and what source-available means.
Installing
sudo apt install valkey-server # Debian and Ubuntu
sudo dnf install valkey # Fedora
sudo pacman -S valkey # Arch
valkey-cli ping
# PONG
The command names are aliased, so redis-cli usually still works.
The two settings that matter before you run it
Memory limits. Without maxmemory it grows until the kernel kills it, which is the most common way one of these takes a server down. With maxmemory but the default noeviction policy it stops accepting writes instead.
# /etc/valkey/valkey.conf
maxmemory 2gb
maxmemory-policy allkeys-lru
allkeys-lru for a cache. The volatile-* policies are a trap unless every key has a TTL, because keys without one are never evicted. That sizing matters more now that VPS memory got expensive.
Security. Valkey was designed for trusted networks, and unprotected instances are scanned for constantly. Some commands let an attacker write files to disk, which turns exposure into remote code execution.
bind 127.0.0.1 -::1
requirepass <64 random characters>
protected-mode yes
rename-command CONFIG ""
rename-command FLUSHALL ""
openssl rand -base64 48
Better still, use ACLs rather than one shared password:
valkey-cli ACL SETUSER appuser on '>password' '~app:*' +get +set +del +expire
Across anything you do not control, a WireGuard tunnel is simpler than getting TLS right.
Operational notes
valkey-cli INFO memory | grep -E 'used_memory_human|maxmemory_policy'
valkey-cli INFO stats | grep -E 'evicted_keys|keyspace_hits|keyspace_misses'
valkey-cli --bigkeys
Never run KEYS * on a live instance. It is O(n) and blocks the single-threaded server while it scans. Use --scan instead. That single-threaded design is the thing to internalise: one slow command blocks everything.
Verify Your Download
Release tarballs and checksums are on the GitHub releases page. Prefer the distribution package, which is signed and verified automatically, per our checksums guide.