You can install Chocolatey exactly where you would like, and to make that easier, there's even some information written up on the wiki for Chocolatey about that!
Create a user environment variable named
ChocolateyInstall
and set it to the folder you want chocolatey to install to prior to installation.Create the folder manually.
Install Chocolatey.
The simple and "automated" way
If you'd like to keep it simple, simply open upen an administrative session of PowerShell (if you need so), and run the following snippet. It'll do the steps above.
Set-Variable -Name "ChocolateyInstall" -Value (Read-Host -Prompt "Install location") New-Item $ChocolateyInstall -Type Directory -Force [Environment]::SetEnvironmentVariable("ChocolateyInstall", $ChocolateyInstall, "User") iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Always be careful, and read snippets of code before executing it.