数据库
首页 > 数据库> > Mac下安装redis最简单

Mac下安装redis最简单

作者:互联网

Mac安装Redis

使用Homebrew安装Redis

1、没有安装Homebrew,首先安装npm国内的吧,快一些。打开终端输入以下命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
2、使用Homebrew安装命令
brew install redis
执行上述命令后出现以下,则成功安装:

==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/redis-6.0.1
######################################################################## 100.0%
==> Pouring redis-6.0.1.mojave.bottle.tar.gz
==> Caveats
To have launchd start redis now and restart at login:
  brew services start redis
Or, if you don't want/need a background service you can just run:
  redis-server /usr/local/etc/redis.conf
==> Summary

标签:local,redis,Mac,usr,6.0,Homebrew,安装
来源: https://www.cnblogs.com/0102MrSun/p/16291103.html