You need spaghetti, two bulbs of garlic, two red chillis, salt and olive oil to make spaghetti aglio e olio.

Step 1: Boil the water in a pot and add spaghetti and salt.
Step 2: Cut a red chilli into pieces on a chopping board.
Step 3: Add olive oil, red chilies and cloves of garlic to the frying pan.
Step 4: Add spaghetti to the frying pan.
After that, put the mixture onto a plate. You can enjoy spaghetti aglio e olio.
=============================
Would you chec the steps of the recipe? Correct errors, please.

Your recipe doesn't say how long to cook the mixture.

Here's a better recipe.

https://www.foodnetwork.com/recipes/ina-garten/spaghetti-aglio-e-olio-recipe-2043225

The steps provided for making spaghetti aglio e olio are mostly correct, but there are a few errors that need to be addressed. Here are the corrected steps:

Step 1: Boil water in a large pot and add salt. Once the water is boiling, add the spaghetti and cook until al dente (firm but not hard). This usually takes about 8-10 minutes.

Step 2: While the spaghetti is cooking, prepare the ingredients. Slice two cloves of garlic and chop two red chilies. You can adjust the amount of chili according to your desired level of spiciness.

Step 3: In a separate frying pan, heat olive oil over medium heat. Add the sliced garlic and chopped red chilies to the pan and sauté until the garlic becomes golden and fragrant. Be careful not to burn the garlic.

Step 4: Once the spaghetti is cooked, drain it well and then add it to the frying pan with the garlic and chili mixture. Toss everything together, ensuring that the spaghetti is evenly coated with the oil and flavors.

Step 5: Transfer the spaghetti aglio e olio to a plate and serve immediately.

It's worth mentioning that some variations of this recipe may include additional ingredients such as parsley or Parmesan cheese. You can customize it based on your preferences. Enjoy your spaghetti aglio e olio!