You can make pesto using a blender, but you might have to scrape down the sides intermittently. Alternatively, for a more traditional approach, finely chop the ingredients and then blend them with a mortar and pestle.