Slice the squash open lengthwise. Remove the seeds and pulp. Brush the flesh with olive oil. Sprinkle with salt and pepper.
Place the squash halves, flesh side up, into the air fryer and close the basket. Cook for 20 minutes. When done, scrape the flesh with a fork to remove it from the shell.
Notes
The number of servings varies depending on the size of the squash and whether you're serving it as a side or main dish. Expect between 4-8 servings.