Check for brew before trying to use it.