首页 > 系统服务 > 详细

Redis 安装 - macOS

时间:2020-04-01 15:02:49      阅读:79      评论:0      收藏:0      [点我收藏+]

1. 下载安装包

https://redis.io/download

当前最新版本为5.0.5

2. 解压安装

$tar xzf redis-5.0.5.tar.gz
$cd redis-5.0.5
$make

在安装时候如果提示

`invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun`

 

技术分享图片

 

 

则需要安装 Xcode toolkit,参考 https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcrun/

xcode-select --install

然后再继续make

 

Redis 安装 - macOS

原文:https://www.cnblogs.com/pangkang/p/12612292.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!