Skip to main content

Chocolatey

RepoFlow provides a dedicated Chocolatey package type for local, remote, and virtual repositories. Create a Chocolatey repository, then use its URL with the Chocolatey CLI for private package publishing and installation.

Note: RepoFlow's Chocolatey repositories use NuGet V3. Chocolatey's official community repository uses NuGet V2, so it cannot be configured as a RepoFlow remote repository. Other NuGet V3-compatible Chocolatey sources can be used.

Supported Commands

Use these Chocolatey commands with a RepoFlow Chocolatey repository:

Command Line
choco install
choco push
choco source add

Note: Commands that run locally, such as package creation, are not listed here but will function normally.

Authentication

Authentication for Chocolatey repositories is handled through Chocolatey's source management. Add your RepoFlow Chocolatey repository using:

Command Line
choco source add -n=RepoFlow -s=https://api.repoflow.io/chocolatey/<workspace>/<repo-name>/index.json --user=<username> --password=<password>

Alternatively, authentication can be managed by setting the API key directly:

Command Line
choco apikey add -s=https://api.repoflow.io/chocolatey/<workspace>/<repo-name>/index.json -k=<your-api-key>