01 -
Cook the spaghetti in a large pot of salted boiling water according to package directions until al dente. Reserve 1/2 cup of pasta water, then drain the rest.
02 -
In a large skillet over medium heat, melt the butter.
03 -
Add the minced garlic and red pepper flakes (if using) and sauté for 1–2 minutes, until fragrant.
04 -
Add the cooked spaghetti to the skillet and toss to coat in the garlic butter sauce.
05 -
Stir in the reserved pasta water a little at a time until the sauce reaches your desired consistency.
06 -
Mix in the chopped parsley, basil, salt, and black pepper.
07 -
Remove from heat and top with grated Parmesan cheese and a squeeze of lemon juice, if desired.
08 -
Serve the dish while hot.