Question: do a clean install of mac os?
Answer: Connect your boot drive.
Start up - or restart - your Mac while holding down the Option key (also known as Alt). ... 
Choose to install your chosen version of macOS from the external drive.
Select Disk Utility.
Select your Mac's start up disc, probably called Macintosh HD.
Click on Erase.