Keep them in an air tight container. If you choose to by more than a month's worth (buying in bulk is usually cheaper), then see if you can keep the excess in the freezer.
As long as they are kept in a container of some kind and are not exposed to moisture, you shouldn't have to worry about them going bad or anything of that nature.