Boil a large pot of salted water.
Add spaghetti and cook according to package instructions until al dente.
Heat olive oil in a pan over medium heat.
Add minced garlic and sauté until fragrant.
Pour in the heavy cream and stir continuously.
Gradually add Parmesan cheese, mixing until melted.
Season with salt and pepper to taste.
Drain the pasta and add it to the sauce.
Toss to coat the noodles evenly.
Serve hot, garnished with fresh parsley.