Preheat your air fryer to 400°F.
Place 1-2 cups of frozen green beans in the basket of your air fryer.
Sprinkle the beans with garlic powder, onion powder, salt, and pepper according to taste.
Drizzle the beans with some olive oil or melted butter to help them crisp up while cooking.
Close the air fryer lid and cook for 8 minutes at 400°F, giving the basket a shake halfway through cooking time.
Open the air fryer lid and check if green beans are crispy and golden brown in colour; adjust seasoning according to taste if needed.
Place cooked green beans on a plate or serving platter and enjoy!