error occurs when home directory is in a different partition than /tmp
sqlpkg install sqlite/zipfile
(project scope)
> installing sqlite/zipfile...
! failed to copy downloaded files: rename /tmp/.sqlpkg/sqlite/zipfile .sqlpkg/sqlite/zipfile: invalid cross-device link
something different than os.Rename should be used, as example