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
You could move the Chocolatey directory to another location then create a hard symbolic link from the default location - see The Complete Guide to Creating Symbolic Links (AKA Symlinks) on Windows.
I.e. mklink /J C:/ProgramData/chocolatey D:/my/new/location
But be sure to create the usual backups, restore points, etc. before doing anything.