To make cold brew shelf stable use a combination of scoured bottles, high-pressure pasteurization, or heat pasteurization, and be sure the cold brew has minimal contact with the air.