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