The best way to store whole onions is in a cool, dark, dry place, where they can last up to two months.