# Chocolatey

Avrea caches packages from the Chocolatey Community Repository so that `choco install`
resolves from colocated cache on repeat runs.

## On Avrea runners

Chocolatey is pre-configured on Windows runners. Your workflow needs no changes:

```yaml title="workflow.yml"
jobs:
  build:
    runs-on: avrea-windows
    steps:
      - uses: actions/checkout@v7
      - run: choco install cmake --yes
```

## Manual setup

```powershell
choco source add --name="avrea-cache" --source="https://cache.avrea.com:8443/nugetv2/"
choco source disable --name="chocolatey"
```