Boil the spaghetti noodles in boiling water.
Slice the garlic thinly.
Add olive oil to a pan and sauté the garlic.
Reserve a bit of pasta water and transfer the noodles to the pan.
Season with salt and pepper, and adjust the sauce consistency with the pasta water while stirring.
Finish by adding parsley or chili.