Skip to content

Installation

Prerequisites

  • Go 1.21 or later (for building from source)
  • Git (for cloning the repository)

Install with Go

The simplest way to install prdtool:

go install github.com/agentplexus/agent-team-prd/cmd/prdtool@latest

This installs the prdtool binary to your $GOPATH/bin directory.

Build from Source

Clone and build both the CLI and MCP server:

git clone https://github.com/agentplexus/agent-team-prd.git
cd agent-team-prd

# Build CLI
go build -o bin/prdtool ./cmd/prdtool

# Build MCP server (for AI assistant integrations)
go build -o bin/prdtool-mcp ./cmd/prdtool-mcp

Verify Installation

prdtool --version
prdtool --help

Shell Completion

Generate shell completion scripts for your shell:

prdtool completion bash > /etc/bash_completion.d/prdtool
prdtool completion zsh > "${fpath[1]}/_prdtool"
prdtool completion fish > ~/.config/fish/completions/prdtool.fish
prdtool completion powershell | Out-String | Invoke-Expression

MCP Server Installation

The MCP server (prdtool-mcp) is required for AI assistant integrations. Build it alongside the CLI:

go build -o bin/prdtool-mcp ./cmd/prdtool-mcp

Place the binary in a location accessible to your AI assistant. See Claude Code Integration or Kiro IDE Integration for setup instructions.

Updating

To update to the latest version:

go install github.com/agentplexus/agent-team-prd/cmd/prdtool@latest

Or if building from source:

cd agent-team-prd
git pull
go build -o bin/prdtool ./cmd/prdtool
go build -o bin/prdtool-mcp ./cmd/prdtool-mcp