Redis在mac和windows下安装

时间:2022-08-24 16:17:45

Mac安装参考https://my.oschina.net/jackieyeah/blog/524583

启动:
/usr/local/bin/redis-server /usr/local/etc/redis.conf

进入命令行:
cd /usr/local/bin
./redis-cli

安装Redis Desktop Manager
打开终端输入:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
安装命令:
brew cask install rdm
(还没有成功)

windows下安装文件地址: https://github.com/MSOpenTech/redis/releases
windows下启动:
1. Redis-cli.exe
2. shutdown
3. exit
4. redis-server.exe redis.windows.conf