Official website: Https://redis.io
Chinese Web: http://www.redis.cn/and http://www.redis.net.cn/
Redis does not provide the official Windows version of the package, has been developed, maintained and updated by Microsoft
Windows version: Https://github.com/MicrosoftArchive/redis/releases
MSI direct installation, Zip/tar for decompression
Installation Steps
Here is a brief introduction to the Windows version of the installation steps, other versions can be found on the official website
1. Open CMD,CD to the directory where Redis resides
2. Run Redis-server.exe redis.windows.conf start server
3. Another cmd,cd to the directory where Redis resides
4. Run Redis-cli.exe-h 127.0.0.1-p 6379 to start the client
5. Run Set key value, such as set name Zhangsan, output OK
6. Run get name and output Zhangsan to prove that the Redis service is working properly
Windows Services
Make Redis a Windows service that automatically runs every time you boot without the need for CMD to start the service
1. Open CMD,CD to the directory where Redis resides
2. Run Redis-server--service-install redis.windows.conf
3. Run services.msc to view Windows services
How to open Redis for Windows correctly