Gather the ingredients.
First, prepare your pesto. You can also skimp and just use a store-bought jar of pesto, but it's so much cheaper, fresher, and tastier to make your own. To prepare the pesto, place the pine nuts or walnuts, basil, garlic, sea salt or kosher salt and Parmesan cheese in a blender or food processor and pulse together a few times.
Slowly add the olive oil and blend until you have a nice, smooth consistency. You may need to add a little bit more or less olive oil to get the perfect texture.
Next, cook the pasta according to the package instructions, or however you like to cook your pasta. Drain well.
Next, combine it all. Toss the prepared pasta with your prepared pesto until well combined, then gently toss together with the diced avocado, being careful not to break up the avocado.
Finally, give it another little sprinkle of sea salt or kosher salt and fresh ground black pepper to serve.