Install Pacto CLI

Pacto is distributed as a small CLI. The quickest path is the install script; if you prefer to build from source, you can install it with Go.

Install with the shell script

This is the fastest way to get the latest release onto a Linux or macOS machine.

curl -fsSL \
  https://raw.githubusercontent.com/triple0-labs/pacto-spec/main/install.sh | bash

Install from Go source

If you already use Go locally, you can compile the binary directly from the repository.

go install ./cmd/pacto

Verify the installation

pacto help
pacto version

Next step

Once the binary is available in your shell, move on to Getting Started to initialize a workspace and create the first plan slice.