1.下载地址:https://github.com/MSOpenTech/redis/releases
2.DOS下进redis文件夹目录,执行redis-server.exe redis.windows.conf,或双击redis-server.exe执行,显示如下:
3.同样DOS下进入到redis目录,执行redis-cli.exe -h 127.0.0.1 -p 6379, 开始设置键值对。格式为:set key value (设置键值对) get key (根据key取value)