street smarts
US /ˈstriːt smɑːrts/
UK /ˈstriːt smɑːrts/

1.
the ability to deal with difficult or dangerous situations, especially in big cities, in a practical and effective way
:
•
He may not have a degree, but he has plenty of street smarts.
•
You need some serious street smarts to survive in this city.