It only takes 15 to 20 minutes to roast butternut squash in the air fryer.