In a small saucepan, combine olive oil and the garlic cloves. Cook over low heat, stirring occasionally to prevent burning, until the garlic turns light golden brown and tender, about 15 minutes. Carefully remove from heat. The oil will be very hot. Once the oil has cooled to room temperature, remove and reserve the garlic cloves. Keep the garlic-infused oil; you will need it soon. Meanwhile, warm a skillet over medium heat. Add the pistachio nuts to the skillet. Stir them continuously over medium heat until they are toasted and fragrant. Remove from heat.: The first thing you will notice is the gentle shiver of heat on the oil as it warms. As the olive oil and garlic sit together over very low heat, delicate garlic aromas bloom into the oil, creating a soft, savory perfume. You want tiny bubbles near the edge, not a full simmer. Stirring occasionally keeps hot spots from forming, which prevents the garlic from developing bitter, burnt notes. If the oil starts to pop aggressively or the garlic darkens quickly, the heat is too high; lower the flame and scoop out any pieces that are getting too brown. Let the oil cool before processing, otherwise the heat will wilt the herbs too much and alter the freshness of the mint and basil .
Add toasted pistachios to a food processor along with room temperature garlic infused olive oil, roasted garlic pieces, fresh mint and basil, parmesan or pecorino cheese, fresh lemon juice, and lemon zest.: You should watch for a pale golden color and a softened texture in the garlic , which signals that its sharp sulfur compounds have transformed into sweeter, mellow flavors. The sound is quiet and gentle, not crackling, and the kitchen will fill with a warm, roasted scent. If you rush this step with higher heat, the garlic will char and introduce bitter notes; patience yields the best flavor. When done, remove the saucepan from heat and let the oil cool to room temperature before moving on, because hot oil will overcook the herbs later.
Pulse the mixture, scraping the sides periodically, until the mixture is creamy but still has a nutty texture.: The cooled oil should carry the aroma of roasted garlic without any burnt edge. Handling it carefully means you avoid splatters and you preserve that infused aroma. If the oil still seems hot to the touch, wait longer; adding it while hot can wilt the herbs prematurely and change the pesto’s bright color. A common misstep is trying to hurry by chilling the oil in the fridge, which can stiffen the oil and dull its aroma, so just allow gentle cooling at room temperature.
Scrape the pesto into a bowl and taste. Stir in salt to taste if needed. I add about 1/2 tsp of salt, but you can add more or less to taste. Some cheeses have more salt than others, so the taste test is important here. Stir in additional olive oil for texture if desired. Some people like a thicker pesto, while others prefer a more liquid pesto for drizzling. If you prefer a more liquid texture, add more olive oil by the tablespoon and stir until it's right.: The roasted garlic cloves have become spreadable and sweet, almost caramelized in profile. Reserving them lets you include small chunks back into the pesto for a savory hit. If the cloves are overly browned, discard them rather than introduce bitterness. When you add them later, they will lend a mellow garlic note that is more subtle than raw garlic would.
Serve as a sauce, condiment, or topping, or use as a marinade depending on your preference.: This infused olive oil is like flavor glue for the pesto, carrying the essence of the garlic throughout the sauce. Measure out what you will use, but know you can always add more oil by tablespoon to adjust texture. Avoid adding the oil while it is still hot, as that will cook the fresh herbs and can make the pesto dull in color and aroma.
Meanwhile, warm a skillet over medium heat: Heating the pan prepares it to toast the shelled unsalted pistachio nuts evenly. When the skillet is ready you will notice a faint shimmer of heat, and the nuts will respond quickly once they are added. A properly warmed pan gives even toasting and ensures the pistachios release sweet, nutty aromas rather than steam. If your pan has hot spots, the nuts will toast unevenly, so keep them moving.
Add the pistachio nuts to the skillet: As you add the shelled unsalted pistachio nuts , you will hear a soft toasting sound and smell a fragrant, warm nuttiness. Toss them or stir continuously to promote even browning, watching for tiny dark flecks and a deeper toasted scent. Do not walk away, because nuts can go from perfectly toasted to burnt in seconds. If you notice any pieces char, remove them right away to prevent bitterness.
Stir them continuously over medium heat until they are toasted and fragrant: Toasting draws out oil and amplifies flavor, and the nuts will turn a slightly deeper hue and emit a warm, almost sweet aroma. The surface may sheen slightly as oils surface. Remove from the heat promptly and transfer to a cool plate so residual heat does not continue to cook them. A common mistake is leaving them in the hot skillet, which will overcook them and produce an acrid taste that will carry through the pesto.
Remove from heat: Once toasted, cool the shelled unsalted pistachio nuts quickly to preserve their crispness and prevent additional cooking from pan heat. Cooling also makes them easier to process without overheating the mixture. If the nuts remain hot when added to the processor, they can warm the herbs and change the vibrant green color and fresh aroma of the pesto.
Add toasted pistachios to a food processor along with room temperature garlic infused olive oil, roasted garlic pieces, fresh mint and basil, parmesan or pecorino cheese, fresh lemon juice, and lemon zest: When you assemble these elements the aroma becomes complex and layered, with citrus lifting the herbal notes and cheese adding savory depth. The food processor blends everything into a cohesive paste, but the room temperature oil ensures the herbs do not wilt prematurely. If you rush with warm ingredients, you risk losing bright color and fresh aroma, so ensure the oil and toasted nuts are cool enough that the herbs stay green.
Pulse the mixture, scraping the sides periodically, until the mixture is creamy but still has a nutty texture: You should pulse rather than run the processor continuously, which helps keep some grain and pleasant texture from the shelled unsalted pistachio nuts . Listen for changing motor pitch as the mixture becomes more homogenous, and stop to scrape and redistribute so everything gets an even grind. The texture should be creamy yet textured, not a smooth puree. Overprocessing will create a paste that loses the delightful nutty mouthfeel.
Scrape the pesto into a bowl and taste: A quick taste reveals the balance of herb, nut, cheese, and citrus. Expect a fragrant green lift from the mint and basil , a toasty nuttiness from the shelled unsalted pistachio nuts , and a rounded savor from the parmesan or pecorino cheese . If any single component stands out too strongly, adjust in small increments to avoid throwing the balance off.
Stir in salt to taste if needed: Salt brings out hidden flavors and knits the pesto together. You may need less if you used a salty cheese, so add sparingly and taste between additions. The wrong amount of salt can mask the delicate mint character, so err on the side of caution and adjust slowly.
Stir in additional olive oil for texture if desired: Adding more olive oil will loosen the pesto and make it easier to drizzle or toss with hot pasta. I recommend adding oil by the tablespoon, stirring, and tasting until you reach the desired consistency. Avoid adding too much at once because you can always add more but cannot easily remove it.
Some people like a thicker pesto, while others prefer a more liquid pesto for drizzling: Decide how you plan to use the sauce before you finalize its texture. A thicker pesto is great as a spread or stuffing, while a looser pesto is better for dressing warm pasta or steamed vegetables. If you want the drizzle effect, thin gradually with more olive oil to avoid making it too runny.
If you prefer a more liquid texture, add more olive oil by the tablespoon and stir until it's right: As you incorporate additional oil, note the change in sheen and mouthfeel. The scent opens up and the sauce coats more evenly. Keep tasting so the citrus and cheese remain balanced; adding oil dilutes flavors as it smooths texture.
Serve as a sauce, condiment, or topping, or use as a marinade depending on your preference: When you plate the pesto it should look glossy and vibrant green. Spoon it over warm pasta so it loosens slightly and clings, smear it onto toasted bread for contrast of crunch, or use it as a finishing dollop on grilled vegetables. If marinating, the oil and lemon help carry flavors into proteins or veg, but remember the pesto is concentrated, so use sparingly. If you store it, a thin layer of olive oil on top helps prevent oxidation and keeps the color fresh.