https://github.com/pact-foundation/choco
Pact CLI tools available for Windows via Chocolatey (Choco)
https://github.com/pact-foundation/choco
chocolatey chocolatey-packages pact pact-cli windows
Last synced: about 2 months ago
JSON representation
Pact CLI tools available for Windows via Chocolatey (Choco)
- Host: GitHub
- URL: https://github.com/pact-foundation/choco
- Owner: pact-foundation
- License: mit
- Created: 2023-04-13T14:16:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-01T22:07:21.000Z (7 months ago)
- Last Synced: 2025-11-01T23:28:05.112Z (7 months ago)
- Topics: chocolatey, chocolatey-packages, pact, pact-cli, windows
- Language: PowerShell
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pact CLI Tools for Windows via Choco
[](https://github.com/pact-foundation/choco/actions/workflows/ci.yml)
[Pact CLI Tools](https://docs.pact.io/implementation_guides/cli) bucket for [Chocolatey](https://chocolatey.org/), the Windows command-line installer.
## Supported Platforms
| OS | Architecture | Supported |
| ------- | ------------ | --------- |
| Windows | x86_64 | ✅ |
| Windows | aarch64 | ✅ |
## Installation
- Grab the required package from
### Unified CLI
```powershell
# Download the required package
curl https://github.com/pact-foundation/choco/releases/download/choco/pact.0.9.1.nupkg -OutFile pact.nupkg
# Install the Unified CLI
choco install -y pact --source .
# Windows on ARM - requires ForceARM64 parameter
choco install -y pact --params "'/ForceARM64:true'" --source .
```
### Individual Packages
#### Pact Broker Client
```powershell
curl https://github.com/pact-foundation/choco/releases/download/choco/pact-broker-client.0.5.0.nupkg -OutFile pact-broker-client.nupkg
choco install -y pact-broker-client --source .
```
#### Pact Mock Server
```powershell
curl https://github.com/pact-foundation/choco/releases/download/choco/pact-mock-server.2.1.0.nupkg -OutFile pact-mock-server.nupkg
choco install -y pact-mock-server --source .
```
#### Pact Verifier
```powershell
curl https://github.com/pact-foundation/choco/releases/download/choco/pact-verifier.1.3.0.nupkg -OutFile pact-verifier.nupkg
choco install -y pact-verifier --source .
```
#### Pact Plugin
```powershell
curl https://github.com/pact-foundation/choco/releases/download/choco/pact-plugin.0.2.0.nupkg -OutFile pact-plugin.nupkg
choco install -y pact-plugin --source .
```
#### Pact Stub Server
```powershell
curl https://github.com/pact-foundation/choco/releases/download/choco/pact-stub-server.0.7.0.nupkg -OutFile pact-stub-server.nupkg
choco install -y pact-stub-server --source .
```
#### Pact Legacy
```powershell
curl https://github.com/pact-foundation/choco/releases/download/choco/pact-legacy.2.5.6.nupkg -OutFile pact-legacy.nupkg
choco install -y pact-legacy --source .
```
## Chocolatey GitHub Actions Example
```yml
- name: Install Pact via Chocolatey
if: runner.os == 'Windows'
shell: powershell
run: |
curl https://github.com/pact-foundation/choco/releases/download/choco/pact.0.9.1.nupkg -OutFile pact.nupkg
if ("${{ runner.arch }}" -eq "ARM64") {
choco install -y pact --source . --params "'/ForceARM64:true'"
} else {
choco install -y pact --source .
}
pact --help
```