Redis does not have an official version of Windows, if required in Windows installation can download Redis (Https://github.com/MicrosoftArchive/redis) maintained by Microsoft.
Here we take another way to use Docker to install Redis
What is Docker?
Docker is a container for apps, and Docker constructs an environment that is separate from the host, and then the app runs on that separate environment. Docker interacts with the host through port binding. Because Docker can be used to ignore the system environment of a host, we use Docker to install Redis.
installation process
(1) Installing Docker
(2) Download the Redis image
Docker Pull Redis
(3) Start the Redis image. Because Redis persistence requires data files to be stored on disk, we want to mount a local file corresponding to the/data. While Redis exposes a port of 6379, the port of the container is mapped to the port of the host system. Finally, keep the background executed.
Docker run--name redis_container-p 6379:6379-v c:\redisdata:/data-d redis redis-server--appendonly Yes
(4) To test Redis, we can go into the container to test
Docker exec-it Redis_container/bin/bash
(5) Test at command line input REDIS-CLI
Installing Redis on the window