The best and easiest way to store walnuts is to freeze them. Use your imagination and I'm sure you can find a variety of ways to use Mylar bags in your preparation. You will notice that the sides of the Mylar bag are absorbing and you will be able to see the grooves of the food products inside. Another option is to vacuum seal the nuts and then store them in the refrigerator instead of in the freezer.
If you are interested in the longest possible storage life, a Mylar bag inside a plastic bucket is the best option. For best results from fresh and healthy nuts, store them in an airtight container in the refrigerator. Walnuts last 6 months in the pantry 1 year in the fridge 1-2 years in the freezer. Assuming walnuts are stored in suitable containers and environments, shelled walnuts or in-shell walnuts can be stored at room temperature for up to three (months).
A great way to pack dry goods for long-term storage is with a 5 gallon Mylar bag inside a plastic bucket. Dry goods such as wheat, white rice, beans, pasta, oats, sugar, and flour are examples of foods that store well in a Mylar bag. Here are some examples of foods that are commonly stored and how long they will stay in good condition to eat them when stored in Mylar bags with oxygen absorbers. High-fat foods, such as meat, nuts, and legumes, will go rancid in just 3 to 12 months, regardless of how they are stored.
Dry, low-fat foods, such as oats and grains, can be stored for many years in an anaerobic environment. Most foods can be successfully stored in Mylar bags, but some are more suitable for long-term food storage than others. It can be stored in a cool place for a while, even without refrigeration, especially for those of you who have good, cool basements. If you don't have a vacuum sealer, but would like to store your nuts in the freezer in a more insulated way, double pack the freezer storage bags with hermetic seal.
If you buy in bulk, separate what you need and store it separately in the fridge and freeze the rest, up to a year, but remember that they should be stored in airtight containers.