01 - Bring a large pot of salted water to a rolling boil.
02 - Combine basil, garlic, pine nuts, and Parmesan in a food processor. Pulse until coarsely chopped. With motor running, slowly stream in olive oil until smooth and creamy. Season with salt, pepper, and lemon juice if desired. Set aside.
03 - Add gnocchi to boiling water and cook until they float to surface, approximately 2-3 minutes.
04 - Drain gnocchi in a colander, reserving a small amount of cooking water.
05 - Transfer hot gnocchi to a large bowl. Add pesto and toss thoroughly. Add splash of reserved cooking water if needed for silkier consistency.
06 - Serve immediately topped with additional grated Parmesan, fresh basil leaves, and extra pine nuts if desired.