Windows Redis 3.2.100 Installation and Startup
Download Links
Currently (2026), the official Redis project only provides installation packages for Linux. The Windows port is archived and maintained by Microsoft (no further updates).
- Official site (Linux version): http://redis.io/download
- Windows‑version Github repository: https://github.com/MSOpenTech/redis/tags
- Sample release (win‑3.2.100):
https://github.com/MicrosoftArchive/redis/releases/tag/win-3.2.100
Core Files After Extraction
| File | Purpose |
|---|---|
| redis‑server.exe | Redis server program |
| redis‑cli.exe | Redis command‑line client tool |
| redis.windows.conf | Default configuration file |
| redis.windows‑service.conf | Dedicated config for installing as Windows system service |
| redis‑benchmark.exe | Redis performance benchmark tool |
| dump.rdb | Redis persistent data file |
Start Redis Server via CMD
- Open CMD and change directory to your extracted Redis folder
cd D:\Redis\Redis-x64-3.2.100Code language: CSS (css)
- Start command (loads configuration file)
redis-server redis.windows.confCode language: CSS (css)
Signs of successful startup:
- Running mode:
Running in standalone mode - Default port: 6379
Drawback: When you start this way, closing the CMD window will stop the Redis service immediately
Install as Windows System Service
Starting from ordinary CMD cannot run in background. You can install Redis as a system service to enable auto‑start on boot.
We only use temporary startup for course demonstration; this step is for reference only.
Redis Connection and Basic Command Test
1. Client connection command
Open a new CMD window, go to Redis directory and run:
redis-cli.exe -h 127.0.0.1 -p 6379Code language: CSS (css)
-h: Specify Redis server IP (you can fill in LAN IP of other machines for remote connection)-p: Specify port number
2. Basic command demo
# Set key‑value pair
set key1 value1
# Get value by key
get key1
# Query non‑existent key returns (nil)
get kkkk
set ddd 123
get dddCode language: PHP (php)
Rules:
setrequires both【key】and【value】parameters. Missing parameters will trigger an error- Querying a non‑existing key returns
(nil)
Notes
- Windows Redis 3.2 is very old. Do not use Windows‑based Redis in production. Deployment on Linux is recommended;
- To connect remotely, you need to adjust firewall settings and modify config file to allow access from external IP addresses;
- The server‑side CMD window must stay open for clients to connect normally.
Installation
Previous: Introduction