Combine all the ingredients and pulse in a food processor until the nuts are ground. (The pesto should have texture.)
Add more salt and pepper to taste, if needed.
There are so many ways to vary this pesto: Stir in chopped, oven-dried tomatoes after everything else is processed. Or try using roasted garlic instead of raw. You can also combine chopped flat-leaf parsley with the basil.