I have seen several threads where people have had deleted their macOS partition and have had trouble reinstalling the correct version of macOS for the 2018 MacBook Pros. The App Store version will not work properly. I have created instructions to download the correct build for this model and wanted to share here:
Go to the following web page:
https://github.com/munki/macadmin-scripts/blob/master/installinstallmacos.py
Right-click the RAW button and select Download Linked file as
The file will be downloaded to your Download folder as installinstallmacos.py
Open terminal and issue the following commands:
You will see a list of downloads like this:
Choose your download. (If you are downloading for the 2018 MacBook Pro, choose 1, otherwise choose 3 for High Sierra)
Once the download is complete, go to the Finder and open your Home folder. You should see a disk image for the installer. Open the Disk Image and then open the "Applications" folder. Inside is the full installer for the version of macOS you download.
If you need to create a bootable USB key:
Drag the installer from the Application folder to your Home folder
Insert a USB key and note the name of the USB key
Open terminal and issue the following command:
Follow the prompts to prepare the key.
Go to the following web page:
https://github.com/munki/macadmin-scripts/blob/master/installinstallmacos.py
Right-click the RAW button and select Download Linked file as
The file will be downloaded to your Download folder as installinstallmacos.py
Open terminal and issue the following commands:
Code:
cd ~/Downloads
chmod +x ./installinstallmacos.py
sudo ./installinstallmacos.py
Type your user password (assuming you are an Administrator)
You will see a list of downloads like this:
Code:
# ProductID Version Build Title
1 091-53703 10.13.6 17G2112 macOS High Sierra
2 091-82771 10.13.5 17F66a Install macOS High Sierra Beta
3 091-94326 10.13.6 17G65 macOS High Sierra
4 091-95251 10.14 18A336e macOS Mojave Beta
Choose your download. (If you are downloading for the 2018 MacBook Pro, choose 1, otherwise choose 3 for High Sierra)
Once the download is complete, go to the Finder and open your Home folder. You should see a disk image for the installer. Open the Disk Image and then open the "Applications" folder. Inside is the full installer for the version of macOS you download.
If you need to create a bootable USB key:
Drag the installer from the Application folder to your Home folder
Insert a USB key and note the name of the USB key
Open terminal and issue the following command:
Code:
sudo /Volumes/Install_macOS_10.13.6-17G2112/Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/<<NAME OF USB key>>
Follow the prompts to prepare the key.