So his people were nomadic and eventually wound up settled in one place?
His folks shephereded near the town of Bethlehem, that was their home base though I'm sure they wandered from hillside to valley in that region as the weather and grass dictated. Bethelehem was called the "city of David" in later OT, and the NT states that was where Jesus was born.
As for his later wanderings running from King Saul, he traveled with a band of fellow mercenaries, even hiring himself out to a Philistine king for a time.