The present invention relates to methods of preventing and/or treating Clostridium difficile infection (CDI) in a subject at high risk for developing CDI including subjects receiving antibiotic therapy for a different infection comprising administering to the subject an effective amount of the compounds described herein.