download link
Official website: https://redis.io
Chinese website: http://www.redis.cn/ and http://www.redis.net.cn/
Redis does not provide an official package for the windows version, it has been developed, maintained and updated by Microsoft
Windows version: https://github.com/MicrosoftArchive/redis/releases
MSI is installed directly, zip/tar is decompressed
installation steps
Here is a brief introduction to the installation steps of the Windows version, other versions can be found on the official website
1. Open cmd and cd to the directory where redis is located
2. Run redis-server.exe redis.windows.conf to start the server
3. Start another cmd and cd to the directory where redis is located
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, which proves that the redis service is running normally