Question: how to factory reset macbook air?
Answer: Hold down the Command and R keys on the keyboard and turn on the Mac. ... 
Select your language and continue.
Choose Disk Utility and click continue.
Choose your startup disk (named Macintosh HD by default) from the sidebar and click the Erase button.