To put down roots / To settle / To establish oneself
Literally 'to throw roots'. Describes settling permanently in a place, community, or way of life.
After years of travelling, she decided to put down roots in Barcelona.
It's difficult to settle when you constantly change cities.
—Are you staying? —Yes, I think I'm going to put down roots here.