Add all the ingredients to a food processor and blend for 20-30 seconds. A blender will also work, but it’s harder to scrape out at the end because of the narrower base.
Pesto will oxidize pretty quickly when exposed to air. To keep it a vibrant green, transfer it to an airtight jar/container and top it with a thin layer of olive oil.