Install/Upgrade XCode with limited disc space

I want to install/uppgrade to XCode 11.6

I have XCode 11.4.1 installed.
I have 4,5 GB of disc-space available on my harddrive.
I have no obvious files to delete to make up more space.
  • When I use App-store, the process ends with statement "not enough space to install the product".

So next action was to download the Xcode_11.6.xip file to a network share.
My plan is to extract the .xip file and copy the result to app folder.
  • When i use ArchiveUtility it start to extract but eventually runs out of discspace. I have tried with terminal also wit xip -x ...

so..
  1. Is there any way to tell ArchiveUtility or Xip to use specific folder (network-share) as temp folder?

  2. Are there any other ways to perform this update?

best regards

PS
I am a real newbie on mac and ios.
DS
Install/Upgrade XCode with limited disc space
 
 
Q