Why it works: Parmesan cheese and walnut work together. They rank in the top 7% of all ingredient pairs, and 230 recipes mention both. Both carry 2,3,5-trimethylpyrazine, which smells cocoa, roasted. The science ↓
The recipe
Ingredients
Contains: egg, milk, wheat, tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Prepare the potatoes and pesto
Boil the potatoes.
When soft, remove them from the water and let cool completely.
While they're cooking, prepare the pesto.
Add all the ingredients into a food processor and process until you reach a desired consistency.
Make the gnocchi
Mash the potatoes with a potato masher until smooth.
Add parmesan and egg. Mix until combined.
Add flour and mix, using your hands, until incorporated.
Knead until you get a soft but not too sticky dough. Add more flour if needed.
Transfer the dough onto a floured surface.
Roll the dough into 2‑3 cm thick logs.
Cut the logs into small pieces.
Flatten each piece with a fork.
Place the gnocchi on a generously floured surface.
Cook and serve
Heat water to boiling. Add a splash of oil into the boiling water to prevent gnocchi from sticking to each other.
Cook for 2–3 minutes.
Heat oil in a frying pan. Add the walnuts, mushrooms, and sun‑dried tomatoes. Sauté until light brown.
Remove the gnocchi from the water. Toss with the mushroom mix, homemade pesto, and fresh sage.
Sprinkle with parmesan cheese. Serve warm.
This recipe comes from the Recipes Wiki on Fandom and is licensed CC BY-SA 4.0. Our formatting and summaries are shared under the same licence.
Steps grouped into stages for easier reading; the method is the source's own.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Parmesan cheese + walnuttop 7% of all pairsAroma overlapmoderateMentioned together230 recipes
Shared aroma: 2,3,5-trimethylpyrazine (cocoa, roasted).
-
Pepper + basiltop 3% of all pairsAroma overlapstrongMentioned together5,292 recipes
Shared aroma: methyl cinnamate (strawberry).
-
Potato + garlictop 3% of all pairsAroma overlapstrongMentioned together4,512 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Basil + garlictop 3% of all pairsAroma overlapmoderateMentioned together4,805 recipes
Shared aroma: linalool (floral, citrus).
-
Parmesan cheese + basiltop 4% of all pairsAroma overlapmoderateMentioned together1,599 recipes
Shared aroma: myrcene (balsamic, herbaceous).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Potatoes
- Provide the starch and bulk that give the gnocchi their soft body.
- Flour
- Binds the mashed potato into a dough that holds its shape when cooked.
- Egg
- Adds binding and richness so the dough holds together during boiling.
- Walnuts
- Add fat and a toasty, slightly bitter flavour to the pesto and the sauté.
- Olive oil
- Carries the basil and garlic flavours in the pesto and adds fat to the sauce.
- Parmesan cheese
- Adds savoury, salty depth and a sharp umami finish to the dish.
The step that matters
Knead only until soft, and add flour sparingly. Potato dough becomes gummy and dense when overworked or over-floured, because extra gluten development and starch make the gnocchi tough. Stop as soon as the dough is soft but not sticky.
Flavor stand-ins for the garlic
How well each one fits the dish's main ingredients (potato, parmesan cheese, egg, flour, pepper, walnut, basil):
- Parsleybetter flavor fit
- Dillbetter flavor fit
- Marjorambetter flavor fit
- Garlicthe original
Fit is the average pairing score against potato, parmesan cheese, egg, flour, pepper, walnut, basil. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration