install redis and run shell ubuntu code example Example 1: install redis sudo systemctl restart redis.service Example 2: install redis brew install redis