The best way to store coffee beans is to keep them in a non-transparent, air-tight container where there's no air, light, heat, and moisture. Keep the pack in a cool and dark place and avoid cabinets near your oven or under sunlight because they get warm. Room temperature is fine, and there's no need for a fridge or freezer, although some people might prefer the latter. If you do so, remember not to have anything smelly, such as garlic in the refrigerator, because your coffee will absorb the smell. Plus. remember to let the beans thaw to room before drinking. It's a great idea to buy coffee in sizes suitable for your use, so you wouldn't have to keep it for a long time. But if you usually get big patches, try to buy whole beans and grind them before brewing. The ground coffee oxidizes and loses aroma and flavor much faster.