C:\ProgramData\National Instruments\NI Package Manager\packages is a black hole. Files enter but never leave -- my PC has collected so many old (and now-useless) packages over the years, e.g.
- ni-package-manager_17.5.0.49152-0+f0_windows_x64.nipkg
- ni-package-manager_18.0.1.49152-0+f0_windows_x64.nipkg
- ni-package-manager_18.0.2.49152-0+f0_windows_x64.nipkg
- ni-package-manager_18.5.1.49152-0+f0_windows_x64.nipkg
- ni-package-manager_19.0.0.49152-0+f0_windows_all.nipkg
- ni-package-manager_19.6.0.49152-0+f0_windows_all.nipkg
It is safe to delete these. If NIPM needs to re-install the package, it simply re-downloads them.
Please add a way on the NIPM GUI for users to easily clear the package cache. Bonus points if there's an option to retain the versions that are currently installed (I believe NI Package Builder grabs the packages from this folder?)
Package Manager 2022 Q4 released, which now removes uninstalled packages from the its "cache" directory (C:\ProgramData\National Instruments\NI Package Manager\Packages). Before this change, NIPM never removed uninstalled and upgraded packages from the cache, which might consist of an increasing amount of hard drive space.