In all the steps below, be careful not to puree. Things should be mixed well, but not over-processed.
Put nuts into food processor or blender and pulse a few times.
Add garlic and pulse a few more times.
Add the oil and pulse till it is incorporated. Stop occasionally to scrape down the sides.
Add cheese and pinch of salt and pepper pulse until blended.
Add basil and pulse a few more times. Blend till basil is incorporated, but so the pesto still has texture. Scrape sides often.
After tasting, if you want to add more of any ingredient(s), fine to add now and pulse a few more times.
Serve with pasta and/or fresh chopped tomatoes or toasted bread or baked potatoes, etc.
Store what you don't use in the refrigerator. Keeps several days. Also freezes well.