Not able to install XCode

I have been trying to install xcode13.2 but whenever I try to expand the .xip file it shows not enough space.So then I tried to expand it in my external drive but it had already taken 3 hours and I couldn't wait.There is around 40GB free space on my system currently.Pls help.

A quick search of this forum will show that your question has already been asked (and answered) lots of times.

almost 32G

Not able to install XCode
 
 
Q