Exactly the same procedure,l. if going to a new nut I'd just use a pile wrench to remove the stock nut. If wanting to reuse the nut, then you'd need to make a tool or file flats and use an adjustable wrench (or big open end, my 26mm fits pretty good on the flats I filed on my .300s nut).
There are a number of after market nuts available, as well as both nuted, and nutless barrels.
These guys make some nice stuff.
https://patriotvalleyarms.com/barrel-nut-wrench-tikka-t3-ruger-american/
I'm thinking about going with Shaw shouldered barrels on my swap barrel build. Then I don't need to mess with nuts.