如何在mac系統上僅安裝redis-cli客戶端,請執行如下命令。
brew tap ringohub/redis-cli brew update && brew doctor brew install redis-cli
【注】需要安裝好homebrew,建議修改下brew的源,可以使用中科大的源。
參考:
Mac(os x): Is there a way to install ONLY redis-cli?:
https://stackoverflow.com/a/55733092