Here's how I make pesto. It's easy to make, but you have to use a food processor, and the pinenuts are expensive. But it freezes really well, and Ricardo loves it.
Fill up the bowl with basil that's been washed, dried and de-stemmed.
TRIVIA: my Cuisinart is at least 16 years old -- that $200 was well-spent!
Pulse until it's well processed, and then add olive oil as the machine is running until it's the consistency you like.