background
At present, the Redis used by the company is clustered, and the data in it may need to be manipulated in the process of troubleshooting and resolution, so it needs to be connected to the cluster. Currently redis-cli is used.
installation
brew tap ringohub/redis-cli
brew update && brew doctor
brew install redis-cli
use
redis-cli -h redis-test.com.cn