I searched around how to extract XIP archive using command line with no luck so I am leaving my own solution, as a bash function, here.
bash
I found my inspirati
open -W archive.xip will work better since it will then block until the archive has finished opening.
open -W archive.xip