I\'m using the Mac OS to install the XCode10.1.
I have 18.43GB free disk space in the mac,
but when I click the install button on the Xcode from the app store,<
Same thing here, tried most of the above. 107 gigs of space free, but not enough to install.
So I downloaded Xcode from Apple directly (https://developer.apple.com/download/more/) and copied the .xip file to an external driven with lots of space.
I was then able to do this:
cd /Applications
xip -x "/Volumes/Blue 2T/Xcode_11.3.xip"
Don't forget to get rid of the xip file when you're done.