According to the documentation:
If you want to move it to a different computer or limit the traces you leave behind, save it to a USB disk.
But this is only mentioned for Windows instructions. I wonder if I can take similar steps on macOS and Linux, i.e. choose the USB drive as the destination folder during the installation.