Start by poking holes in the sweet potato. Rub with olive oil and sprinkle with salt.
Place the sweet potato in the air fryer basket and cook for 35 minutes. Turn the sweet potato over at the halfway mark. If not done after 35 minutes, cook for another 5 minutes.
Notes
Cook the sweet potato in the air fryer until it's tender. Take out and eat with butter, salt, and pepper.