There are many ways to Download Xcode to your mac book, the easiest way is, to download Xcode is via Mac Appstore. Even though it is the easiest way, it is slow, most of the time.   Download Xcode DMG File Via Apple official site Visit https://developer.apple.com/download/more/  link to Download such as Developer Tools