Combine all ingredients in a food processor or blender.
Pulse continuously until all ingredients are broken down and pesto is smooth, 1-2 minutes. Scrape the sides of the bowl at least once to ensure all ingredients are evenly mixed in. Taste and adjust salt and pepper as desired.
Store in a tightly sealed container in the fridge for up to 7 days or in the freezer for up to 6 months.