Place the garlic, pine nuts, and lemon juice into a small food processor. Process for 30 seconds.
Add the basil and process for another few seconds.
Add in the grated Parmesan and process while you slowly drizzle in the olive oil. Stop drizzling when the pesto reaches your desired consistency. Taste and adjust with salt and pepper to your liking.