01 - Bring a large pot of salted water to a rolling boil over high heat.
02 - While water heats, place basil leaves, pine nuts, garlic cloves, and grated Parmesan in a food processor. Pulse until finely chopped and combined.
03 - With the food processor running on low, slowly drizzle in the olive oil through the feed tube. Process until the mixture reaches a smooth, creamy consistency. Add salt, black pepper, and lemon juice. Taste and adjust seasoning as desired.
04 - Add gnocchi to the boiling water. Cook for 2–3 minutes or until they float to the surface, indicating doneness.
05 - Drain the cooked gnocchi thoroughly in a colander, then return to the warm pot.
06 - Pour the prepared pesto sauce over the gnocchi. Gently toss with a wooden spoon until evenly coated. Serve immediately while hot, garnished with additional grated Parmesan and fresh basil leaves.