In a food processor, add basil, pine nuts, cheese, and garlic and pulse until well mixed. Add oil, lemon juice, and salt and mix until smooth. Add pepper to taste and mix again.
Store in a jar or resealable container in the refrigerator for up to a week.