Bring a large pot of salted water to a rolling boil. While that heats up, roughly chop your basil and peel your garlic cloves. You want everything prepped before you start because once the pesto comes together, it happens fast. This takes about 2-3 minutes total.
Dump the pasta into boiling water and set your timer for whatever the box says. Here's my trick: I subtract one minute from the recommended time because I like mine a little al dente. Stir it once after it hits the water so nothing sticks together.
While pasta cooks, make the pesto by combining basil, garlic, and pine nuts in a food processor. Pulse it 6-8 times until it's chunky—don't blend it into baby food texture. Pour in the olive oil slowly while pulsing again, which gives you that perfect creamy-but-grainy consistency.
Scrape the pesto into a large bowl and stir in lemon juice, salt, and black pepper. Taste it right now before you add the pasta—seriously, do this. I forgot once and my pesto needed another half teaspoon of salt, but I'd already mixed everything together.
When pasta's about 30 seconds from done, scoop out 1 cup of the starchy cooking water with a mug. I save this because the starch helps the pesto coat every noodle instead of sliding off. Don't skip this step, it changes everything.
Drain the pasta and toss it right into the bowl with pesto. Add a splash of that reserved pasta water—start with 1/4 cup and add more if needed. Toss it all together for about 30 seconds until every strand is covered in that gorgeous green sauce.
Divide into 4 bowls and top with grated parmesan and those toasted pumpkin seeds. The whole pesto pasta recipe takes exactly 10 minutes of cooking time plus maybe 5 minutes of prep. Grab some crusty bread and call everyone to the table.