To a food processor, add all the ingredients and pulse until a smooth pesto is formed. There should be no chunks of garlic or nuts as well as whole leaves of herbs.
Transfer the pesto to a jar and store in the refrigerator. To prevent it from going bad, cover the top with olive oil if not using immediately or freeze.