install rdis linux code example Example 1: install redis sudo systemctl restart redis.service Example 2: install redis brew install redis