Best way to update a refurb iPhone to the latest and greatest iOS

Assume you have an older iPhone updated to the latest and greatest iOS version. Now you have a newer model refurb scheduled to arrive. Since it’s a refurb, there’s no way to be sure it will actually arrive with the same recent iOS version. But you want to update it before attempting to migrate.

What’s the best way to do that? I’m aware of
a) Right from the hello screen, attach to Mac over USB and use Finder window to install the most recent iOS version onto the refurb. Once that’s done, from the hello screen start migration.
b) Proceed at the hello screen by skipping all setup steps. Once done, go to Settings, update the phone to the most recent iOS version, and then choose Erase all Content and Settings. Once that’s done, the refurb will then return you to the hello screen and from there start migration.

Any clear advantages/disadvantages doing it one way or the other?

I’d use approach B. My personal experience is that USB-based upgrades don’t always work reliable, whereas I’ve never had a problem with an over-the-air upgrade (via your Wi-Fi, to avoid unnecessary cellular data charges).

But assuming the USB-upgrade succeeds, I don’t see any particular problem with it.

I had to do this recently, going from an iPhone 7 to an iPhone 16. I think the 16 probably had iOS 26 on it, and the 7 was on iOS 15. I had a local backup of the old phoone, as well as one in iCloud. I just did the setup via Wifi, with the phones next to each other. At some point, the process seemed to be taking way too long, so I restarted the 16. A message popped up that it had been updated to iOS 27, and I hadn’t seen any indication that an iOS update was happening. However, pretty much everything transferred as it should have and is working well. I did have to go into the settings and make sure that everything was turned on or off that I wanted. I don’t use Siri, and I turned off a lot of Siri-related settings.

When I upgraded to my 18 Pro last month, I went through all the steps to begin an iCloud restore when it prompted me to upgrade iOS, then had to go through all of the steps again. So in the future, assuming I had a Mac with me, I would try method A.

Related: I just saw a video last week that tested all of the methods to transfer to a new device, and suggested that restoring from an encrypted computer backup may be the best solution, followed by wired Quick Start (if both devices are USB-C with Thunderbolt support), followed by wireless Quick Start. iCloud restore lets you use the device faster, but you’ll spend a lot of time re-authenticating email accounts, most apps, etc. I can confirm this from my experience with the 18 Pro - my last few transfers I’ve done using Quick Start, one wireless and one wired, and there were certainly a lot more apps that were authenticated than when I did the iCloud restore this time. I think a month later I’ve got everything re-authenticated, but I just used an app last week apparently for the first time and I needed to log in.

I’m pretty sure that you are not an iCloud backup person anyway, but for the benefit of anyone else, here is the Youtube video: https://www.youtube.com/watch?v=dt_FQgiAXiY