Grate the garlic with a fine grater such as a microplane zester.
Add all of the ingredients to a food processor, drizzling the olive oil in last. Blend until a sauce or paste-like consistency is achieved.
If using the pesto for pizza sauce, you can add more olive oil to achieve a sauce-like consistency. I use double the amount of oil for pesto that will be a pizza sauce. For pasta, you want a thicker consistency with less oil.
Adjust the salt and pepper to taste. You may find it does not need salt depending on how much Parmesan cheese you use.
Store the pesto in a sealed container, such as a lidded mason jar, in the refrigerator for about a week. To freeze, portion out in small amounts using an ice cube tray. Freeze, then dump the cubes into a gallon sized freezer bag and seal.
Notes
To use the pesto as a pizza sauce, you can double the amount of oil to make it thinner. For tossing with pasta, I recommend keeping the pesto thicker.Source: Adapted from Food & WineYou're Gonna Bake It After Allbakeitafterall.com