Skip to content

Commit

Permalink
Merge pull request #804 from pauby/doc/update-change-cache
Browse files Browse the repository at this point in the history
Refactor and modernize the change cacheLocation page
  • Loading branch information
gep13 authored Aug 8, 2023
2 parents 3f40d6a + 1edd881 commit b826c31
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions input/en-us/guides/usage/change-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@ Description: How to change the download folder
RedirectFrom: docs/how-to-change-cache
---

# How To Change The Download Folder

By default Chocolatey uses the Temp Folder for downloads. However that is sometimes blocked by Group Policy and/or other things. To change that you need to adjust the cache location in your choco config file.

If you are on less than [0.9.9.9](https://docs.chocolatey.org/en-us/choco/release-notes#october-2-2015), you will need to do that manually by opening the config file located at `$env:ChocolateyInstall\config\chocolatey.config` and changing the `cacheLocation` value.

If you are on 0.9.9.9 and above you can simple use `choco config set --name cacheLocation --value fullPath`. See [Config](xref:choco-command-config) for more details.
By default, Chocolatey CLI uses the Temp Folder for downloads. However, that is sometimes blocked by Group Policy and/or other things. To change that you need to adjust the cache location in your Chocolatey CLI config file using `choco config set --name="'cacheLocation'" --value="'<CACHE LOCATION PATH>'"`. See the [config command](xref:choco-command-config) for more details.

0 comments on commit b826c31

Please sign in to comment.