Spray the inside of the air fryer basket with olive oil. Set your air fryer to 380 degrees Fahrenheit in the "air fry" mode. Preheat your air fryer depending on the directions of the make and model.
When your fryer is hot, place your green beans in a single layer. Spray your beans with olive oil, then season with salt. Set the timer for 10 minutes.
Halfway through, or when your air fryer alerts you, take the air fryer basket out and toss your beans.
When the timer goes out, remove your beans. If you want them crispier, put them back in for an additional two minutes.