Install Redis On Mac 下载包,download the package, https://redis.io/download 解压 tar xzf redis-3.2.9.tar.gz cd redis-3.2.9 编译 make 测试下,有没有错误make test 编译好的资源放在了src目录下 启动redis服务, src/redis-server 使用内置的客户端连接redis, src/redis-cli 选择库,select 0 练习, set hello world 查看,get hello