Skip to content
Home / Migrations / redis (npm)iovalkey

redis (npm) iovalkey

easy

Valkey is the BSD-licensed Redis fork by AWS, Google, Oracle and the Linux Foundation. iovalkey is the ioredis-compatible client. API is identical.

Estimated: 1h · 4 steps
Progress0%
Step 1: Install iovalkey
npm uninstall ioredis && npm install iovalkey
Step 2: Update imports

import Redis from 'ioredis' → import Valkey from 'iovalkey'. Constructor signature is identical.

Step 3: Verify against Valkey server

Run against Valkey 7.2+ if your provider has switched (AWS ElastiCache, GCP Memorystore default to Valkey).

Step 4: Run integration tests
All caching, pubsub, streams operations behave identically.