01 - Bring a large pot of salted water to a gentle boil for cooking the gnocchi.
02 - In a large skillet over medium heat, melt the butter. Add the minced garlic and cook for 1 minute until fragrant but not browned.
03 - Stir in the heavy cream and bring to a gentle simmer. Reduce heat to low, then whisk in the pesto and grated Parmesan until smooth. Season with salt and pepper to taste. Keep warm on very low heat.
04 - Cook the gnocchi in boiling water according to package instructions, usually 2 to 3 minutes, until they float to the surface. Remove with a slotted spoon and transfer directly to the skillet with the sauce.
05 - Gently toss the gnocchi in the sauce to coat evenly. Adjust seasoning if necessary.
06 - Divide into bowls and garnish with toasted pine nuts, fresh basil, and extra Parmesan cheese. Serve immediately.