今天在mac上安装redis-cli,在百度上搜的时候,发现教程很少,这里弥补一下空缺,需要用到homebrew,接下来就是优雅的安装方式了。
brew tap ringohub/redis-cli
brew update && brew doctor
brew install redis-cli
参考文献
[1]. Mac(os x): Is there a way to install ONLY redis-cli?. https://stackoverflow.com/questions/39704273/macos-x-is-there-a-way-to-install-only-redis-cli/39706850