Add all ingredients except olive oil to a food processor. If you're using a blender, add the olive oil and then the other ingredients.
While hitting the pulse button, stream in the olive oil until completely processed. Add more salt and pepper if needed. Store in the refrigerator or freezer. Add a layer of olive oil on top to prevent the pesto from browning.
Add to your favorite pasta and serve with parmesan cheese.