Then add finely chopped garlic and saute for a minute till it turns brown.
Now add red pepper flakes, freshly chopped parsley leaves.
Saute for 30 - 40 seconds more.
Now deglaze and add water to the inner pot.
Add salt to the water.
Cancel the saute mode now.
Break the spagheti into halves and put in the inner pot in a criss-cross way.
Don't stir at this stage.
Close the lid and seal the vent.
Start the IP on manual pressure cook mode for 5 minutes.
Once the pressure cooking done, allow it for NPR for 5 minutes followed by quick release for rest.
Remove the lid and give a stir to the spaghetti with help of a tong.
If it's still a little watery, then keep it like that on the hot plate for some time for the liquid to evaporate.
Toss it once or twice with help of a tong or spatula to make sure the liquid reduced completely.
The spaghetti is now perfectly moist and well cooked with flavor of fresh garlic.
Add some more freshly chopped parsley leaves and parmesan cheese and serve them hot.
Stovetop Method
Heat water on a large pot. Add salt to it generously 1 tbsp to 1 ltr water. When water starts to boil, add spaghetti to the pot.
When the base becomes softer it will start immersing into the bowl. Simmer for 5 - 6 minutes or till the pasta is cooked al dente.
Reserve 1/2 cup water from the pasta pot (pasta water). Remove the spaghetti from hot water and wash it under regular water for a minute. You can drizzle a tbsp of olive oil to coat.
Heat olive oil in a pan. Add minced garlic and saute for 30 seconds till it starts to turn brownish and cooked. Add finely chopped parsley and chili flakes. saute for 10 - 15 seconds.
Then add the reserved pasta water. Let it simmer for a minute and then add the cooked spaghetti to the pan. Now mix them nicely coating the spaghetti with garlic, parsley, and chili flakes.
Turn off heat. Add some more finely chopped parsley on top and serve hot. Spaghetti Aglio olio is ready.