Clean the clams thoroughly after purging them in salt water.
Boil the spaghetti noodles in boiling water.
Heat olive oil in a pan and sauté minced garlic.
Add the clams, pour in white wine, cover with a lid, and cook.
Add the noodles to the pan and toss with the sauce.
Season with salt and pepper to taste.
Garnish with parsley to finish.