参考https://www.runoob.com/redis/redis-install.html
Windows Redis下载地址:https://github.com/tporadowski/redis/releases,版本2.x~5.x
在系统环境变量path中加入了redis的目录,即可直接在cmd中开启redis

Server: redis-server.exe

Client: redis-cli.exe -h localhost -p 6379 或 redis-cli.exe -h 127.0.0.1 -p 6379

简易:在redis目录下执行
redis-server.exe —service-install redis.windows.conf —loglevel verbose