01 - Bring a large pot of salted water to a boil. Add the gnocchi and cook according to package instructions, usually about 2–3 minutes, until they float. Drain and set aside.
02 - Meanwhile, in a large skillet over medium heat, melt the butter. Add the chopped onion and sauté for 2–3 minutes until translucent.
03 - Add the minced garlic and cook for 30 seconds, stirring constantly so it doesn't burn.
04 - Pour in the heavy cream and bring to a gentle simmer. Stir in the salt, pepper, and nutmeg (if using).
05 - Add the spinach and cook, stirring, until wilted, about 1–2 minutes.
06 - Stir in the grated Parmesan until melted and the sauce is smooth.
07 - Add the cooked gnocchi to the skillet and toss gently to coat in the sauce. Warm through for 1–2 minutes.
08 - Taste and adjust seasoning if needed. Serve immediately, garnished with extra Parmesan and black pepper.