Preheat the air fryer: Set to 380°F (193°C). Preheating helps the beans sear right away for better browning.
Prep the beans: Rinse and pat very dry.
Moisture causes steaming, so drying is key for crisp edges.
Season: In a large bowl, toss green beans with oil, garlic, salt, pepper, red pepper flakes, onion powder, and lemon zest. Coat evenly.
Air fry in a single layer: Add beans to the basket, spreading them out. Slight overlap is fine, but don’t overcrowd.
Cook: Air fry for 8–10 minutes, shaking the basket halfway.
For extra char, go 11–12 minutes. You want tender-crisp with browning.
Finish: Transfer beans to a bowl. Toss with lemon juice.
If using, add butter to melt and parmesan to coat. Taste and adjust salt.
Serve: Plate hot. They should be bright, garlicky, and lightly zesty with a little heat.