The vast majority of developers and Xcode users will download the Xcode application suite from the Mac App Store, but that’s not the only option available to download Xcode, and if you’d rather download Xcode as a DMG or XIP file directly from Apple, then those options. Xcode is the software development suite for Mac that allows developers to build apps for MacOS, iOS, tvOS, and watchOS.
I have on it xcode 3.2.6, but I want newer version (4.2) But I haven't paid Developer Program.
It runs smooth, without problems, and I don't want to upgrade it to Lion, or Mountain Lion.