Thought I'd consolidate some notes, since a lot of people run wheel spacers and seem to want/need longer wheel studs. As mentioned in another post, I replaced the front studs on my 2004 Pathfinder SE with rear studs, which are 3/8" (9.5mm) longer, to run 1/4" wheel spacers.
Summarized from Dorman's catalog (link) and cross-referenced at RockAuto (and sorry if this table comes out all jacked up):
Dorman Knurl Diameter Thread Under Head Length RockAuto Application
P/N in mm in mm
610-240 0.512 13.00 M12-1.25 1.260 32.00 87-04 Pathfinder (front)
610-320 0.505 12.83 M12-1.25 1.634 41.50 87-04 Pathfinder (rear)
610-403 0.508 12.90 M12-1.25 1.791 45.49 93-95 Infiniti J30, 93-98 Nissan Quest
610-295 0.508 12.90 M12-1.50 1.476 37.49 Misc. Hyundai/Kia, Mazda
610-507 0.512 13.00 M12-1.50 1.764 44.81 Misc. Hyundai/Kia, Mazda
610-410 0.508 12.90 M12-1.50 1.811 46.00 Misc. Hyundai/Kia, Mazda
610-409 0.508 12.90 M12-1.50 2.205 56.01 Misc. Hyundai/Kia, Mazda
The options above should allow running a 1/2" spacer up front (use J30/Quest studs), and 1/4" at all corners (610-410 up front and 610-409 in the rear) with a different thread pitch. I think most people are just running spacers up front, though.
If you pair the longer length studs to your wheel spacers (i.e., 1/2" longer for 1/2" spacers), your stock lug nuts will work, but I recommend longer (and/or new) lug nuts anyway. You'll obviously need them if you change thread pitch. Longer nuts are not to increase thread contact, but instead so the wheels can be installed if the spacer needs to be removed. Stock nuts are acorn style and either 29mm or 35mm.
Not shown above is knurled shoulder length which, for the most part, is negligible. The wheel hub thickness and wheel nut seat depth will consume all of this, even without a spacer. However, some could be too tall without a spacer (possibly 610-409 with a 1.14" shoulder). Should length should be at least the thickness of the wheel hub, so double-check the Dorman catalog. If you have steel wheels, the material at the nut seat is likely also thinner than aluminum wheels, so keep that in mind, too.
Studs and lugs at all corners is about a $60 project and a few hours of work. I used a $15 ball joint separator from Harbor Freight to press the lugs out, and an open-ended lug nut (Dorman 611-065) with a thick washer to seat them. The front wheel hub assembly will need to be removed from the truck. For the rear, a big hammer and a drift punch should unseat them (but it's been a very long time since I did this on my Frontier).
You'll obviously want to confirm your particular application, but hopefully this is a good starting point.