You can omit the nuts completely and use sunflower seeds, pumpkin seeds, or hemp seeds instead. You might want to avoid the jarred pesto from the grocery store as they contain nuts.