Installation
Table of contents
Via installer script
The fastest way to install Pacto:
curl -fsSL https://raw.githubusercontent.com/TrianaLab/pacto/main/scripts/get-pacto.sh | bash
The installer script may request elevated permissions (sudo) to install the binary to /usr/local/bin. You can use --no-sudo to install without elevated permissions or set PACTO_INSTALL_DIR to a custom directory.
Verify the installation:
pacto version
Via Go
Requires Go 1.25.7 or later.
go install github.com/trianalab/pacto/cmd/pacto@latest
From source (manual build)
git clone https://github.com/TrianaLab/pacto.git
cd pacto
make build
The binary is placed in your $GOBIN directory (typically ~/go/bin).
Build targets
make build # Compile the pacto binary with version injection
make test # Run all tests
make lint # Run go vet
make clean # Remove build artifacts
Pre-built binaries and package manager support (Homebrew, apt, etc.) are planned for future releases.