If your system drive is running out of space, you can move the AppData Local Packages folder to another drive without disrupting your apps. First, copy the folder from C:\Users\YourUsername\AppData\Local\Packages to your new location. Then, open Command Prompt as Administrator and use the command:
mklink /J "C:\Users\YourUsername\AppData\Local\Packages" "D:\NewLocation\Packages" ... https://localgeekshelp.com/appdata-packages-folder-huge-in-windows-11-10/