Guidance on first time purchase.

Howdy,

Been interested in moving forward with buying my first firearm and need some perspective on the selection process.

After going to a store and checking out my options and discussing with the employee at the counter, I've think I've settled on getting a M&P 2.0 compact in 9mm. However I'm a little torn on which version I should go with. They have options in multiple barrel lengths ranging from 3.6 inches to around 4.6. I'm 5 foot 7, and I'm of average build. I plan on using this for a bit of everything, home defense/concealed carry/something to have fun on the range with. Which size barrel would you guys recommend?

Apologies if this is a dumb question, I just want to cross my T's and dot my I's before I make an investment and I think going to some more experienced individuals would be the smartest play to help me decide.

Thank you for your time.