Place green beans in a bowl, and drizzle oil over the top, sprinkle with salt and pepper. Toss to coat.
Once the air fryer is hot, place the green beans in the air fryer basket. Cook 6-10 minutes, shaking basket halfway through cooking time. Check for doneness again a few times towards the end of cooking, and shake the basket each time you check, so that they are done evenly, and the browning that you like.
Remove the roasted green beans, and serve topped with extra salt and pepper if you like.
Note: canned green beans will also work. Use two 14.5 ounce cans of cut green beans, drained, to make approximately one pound of green beans, and cook as directed.