Add the walnuts, almonds, or seeds to a dry skillet over medium heat. Stir often for 3–5 minutes, until they smell nutty and just start to darken in spots. Immediately transfer to a plate to cool so they don’t burn. You can skip this step if you’re short on time, but it adds extra flavor.
1/2 cup walnuts or sliced almonds
Rinse the basil leaves under cool water, then pat very dry with a clean kitchen towel or paper towel so excess water doesn’t dilute the pesto. Roughly chop the garlic so it breaks down evenly in the food processor.
2 cups fresh basil leaves, 2 cloves garlic
Add the cooled nuts or seeds and the chopped garlic to the bowl of a food processor. Pulse 6–8 times until the mixture looks like fine crumbs, not a paste. This prevents large nut pieces in the finished pesto.
1/2 cup walnuts or sliced almonds, 2 cloves garlic
Add the basil leaves, salt, and black pepper to the processor. Pulse again, scraping down the sides once or twice, until the basil is finely chopped and well mixed with the nut mixture. It should look like green confetti.
2 cups fresh basil leaves, 1/2 teaspoon fine sea salt, 1/4 teaspoon freshly ground black pepper
With the food processor running on low, slowly pour in the olive oil through the feed tube. Process until you have a thick but pourable sauce. If it looks too thick or chunky, stop to scrape down the sides, then continue. If it still seems very dense, add 1–2 tablespoons of cold water and process again.
1/2 cup extra-virgin olive oil, 2 tablespoons cold water
Add the grated Parmesan (or nutritional yeast/vegan parmesan) and 2 tablespoons of lemon juice to the processor. Pulse until well combined and mostly smooth. Taste and add up to 1 more tablespoon of lemon juice for extra brightness. Adjust salt and pepper to taste.
1/2 cup Parmesan cheese, 2 tablespoons freshly squeezed lemon juice, 1/2 teaspoon fine sea salt, 1/4 teaspoon freshly ground black pepper
For pasta, loosen the pesto slightly with a bit more olive oil or cold water so it coats the noodles easily. For a thicker spread for sandwiches or pizza, leave it thicker. The pesto should cling to a spoon but still slowly fall off.
1/2 cup extra-virgin olive oil, 2 tablespoons cold water
Use the pesto immediately or transfer it to a small jar or airtight container. Smooth the top and pour a very thin layer of olive oil over the surface to help keep the color bright. Seal and refrigerate or freeze as desired.
1/2 cup extra-virgin olive oil