Combine the arugula, walnuts, cheese (if using), garlic, lemon juice, cayenne pepper, and olive oil in a food processor fitted with the steel blade. Process until combined into a sauce. Season to taste with salt. (Pesto can be refrigerated in an airtight container for up to 3 days or frozen for up to 1 month.)