Xcode on a old macbook pro

I can't install xcode in a 2010 macbook pro with high sierra i mean the software isn't really old is 3 years old the hardware absolutely i was wondering if i could download older versions of Xcode.

You can download older versions of Xcode from More Downloads page.

The latest version available for High Sierra is Xcode 10.1 .
But, please remember, if you want to develop iOS apps for App Store, you need to use Xcode 11.x (with iOS SDK 13), and will need Xcode 12.x (with iOS SDK 14) starting April 2021.
Xcode on a old macbook pro
 
 
Q