Redis在Windows下的安装 Redis下载链接:https://github.com/MicrosoftArchive/redis/releases 下载完成后解压 1.启动服务器端(在redis的目录下操作): redis-server.exe redis.windows.conf 2.启动客户端(新开cmd窗口,同样在redis目录下操作): redis-cli.exe -h 127.0.0.1 -p 6379 设置键值对: set key redis 取出键值对: