01 - Bring a large pot of salted water to a boil.
02 - In a food processor, combine basil, pine nuts, Parmesan, garlic, salt, and lemon juice. Pulse until finely chopped. With the motor running, drizzle in olive oil until smooth. Season with pepper to taste.
03 - Add gnocchi to boiling water and cook according to package instructions, usually until they float to the surface (about 2–3 minutes).
04 - Reserve 1/4 cup of the cooking water, then drain the gnocchi.
05 - In a large skillet over medium heat, add spinach and a splash of reserved cooking water. Sauté until just wilted, about 1 minute.
06 - Add drained gnocchi to the skillet, then spoon over the pesto. Toss gently to coat, adding a bit of reserved cooking water if needed for a silky sauce. Serve immediately, topped with extra Parmesan and fresh basil.