I\'ve installed Chocolatey, but I would like it to install programs to another drive instead of C. C is only a small SSD, but I have other drives where I usually install program
For an MSI package (which is most often the case in Windows) use:
choco install package-name --% -ia INSTALLDIR="c:\intall\path"
To see whether the package is an MSI one, on the Chocolatey package page, under Files, look for chocolateyInstall.ps1 and then look for:
fileType = 'msi'
It was tested with Strawberry Perl.
Of course, you can always use the paid chocolate and benefit from the ubiquitous install switch.