Slice the garlic thinly.
Peel and devein the shrimp.
Cook the spaghetti noodles.
Heat olive oil in a pan and sauté the garlic.
When the garlic is golden, add the shrimp and stir-fry.
Add the cooked pasta and a bit of pasta water to the pan, and mix well.
Season with salt and pepper.
Top with parsley and chili flakes to finish.