Dairy free option: Omit Parmesan cheese or replace it with dairy free cheese or 1 tablespoon of nutritional yeast.
Nuts option: Pine nuts are traditional choice to make pesto. You can interchange it with any other nuts such as almond, pecans, or alternatively go nut free with sunflower seeds or pumpkin seeds.