I've installed Chocolatey in D:\Chocolatey
directory by following steps
https://github.com/chocolatey/choco/wiki/Installation#installing-to-a-different-location
It works, but i have to change environment variable ChocolateyInstall
and create the folder D:\Chocolatey
manually.
Is there any way do installed Chocolatey in a non-default directory just using cmd?
ChocolateyInstall
before i install chocolatey, but i have to close cmd and re-open it to make chocolatey installed inD:\chocolatey
(if i don't close cmd and re-open, chocolatey is still installed in default directoryC:\ProgramData\chocolatey
). Do you know any command to close and open a new cmd ? – Kiosk