Like most “app data” it is saved to the AppData directory which is in the user’s home directory.
See here: Package Manager Download Directory
You cannot change that path. But you have some options to generally clear up that drive (particularly important since it most likely also hosts the Windows installation):
-
run the disk cleanup tool (eg on Windows: right-click on drive => properties => locate the disk cleanup tool)
-
uninstall programs and reinstall them on a different drive
-
find large folders/files with the help of tools like WizTree (Win) or Disk Inventory X (Mac) … to find out where that space went
I would recommend re-installing programs to a different drive. Specifically if you have game libraries such as Steam, Origin, Epic check these tools on how to relocate games to a different drive, at least Steam supports this without having to re-download the games.