A hot blender
Blades spinning for a long time heat the basil and make it oxidise. Short pulses, a cold jug, or use the mortar.
Recipe · Ligurian classic
Genoese basil, pine nuts, garlic, pecorino and Parmigiano Reggiano, Ligurian extra virgin olive oil. No cooking: pesto is made cold and meets the pasta off the heat.
Quantities for two people, with the basil weighed without stems.
Wash 50 g of basil leaves in cold water and dry them carefully between two cloths: any water left behind dilutes the pesto. Don't rub the leaves, they bruise and turn dark.

In the mortar, crush a garlic clove, germ removed, with a few grains of coarse salt, then 15 g of pine nuts, to a pale paste. With a blender, use cold blades and short pulses: heat cooks the basil.

Add the leaves a few at a time with a pinch of coarse salt and work them against the sides with a circular motion, not pounding. When the green is bright and even, add 40 g of Parmigiano Reggiano and 20 g of pecorino.

Drizzle in 60 ml of extra virgin olive oil from Liguria, stirring.

Cook 180 g of pasta in salted water: trofie, trenette or linguine, in Liguria together with potatoes and green beans. Drain, wait half a minute, then dress it in a bowl (not in the pan), loosening with a spoonful of warm pasta water.

What to avoid
Almost all of them lead to the same result: dark, bitter pesto.
Blades spinning for a long time heat the basil and make it oxidise. Short pulses, a cold jug, or use the mortar.
Dry the leaves and limit heat and air: that way the pesto stays green for longer.
One small clove, germ removed, for two servings. Any more and it's all you remember the next day.
Heating it makes it split and turn bitter. Dress the pasta in a bowl, off the heat.
Pecorino brings the savoury edge. With just one cheese the pesto falls flat.
A robust, fruity extra virgin olive oil drowns the basil: you need delicate oils, like Ligurian ones.
Questions
Can't find the answer? See the photos, they show every step one by one.
The mortar gives the best texture because it crushes rather than cuts. A blender works if you keep everything cold and use short pulses.