easiest to remove the nut and hub flange while everythign is on the car
then remove the hub assembly
when you put it back together again i found it's easier to put the cv back through the slot first and nip up the bearing before refitting the hub assembly to the car, bolting things back up again and then doing the torquing up on the nut
also, remove the brakes and you can then fit a steel rim to the car which means you can use the wieght of the car to turn the nut both for undoing an tightening up again