> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/start-here/ai-agents/connect-and-authorize/install-the-pdg-cli.md).

# Install the pdg CLI

Install and verify an approved pdg command-line client build.

Public `pdg` distribution has not opened yet. Install only an approved build supplied through a Podigee release channel. This page will add public install commands after those channels are live.

## Before you start

* Use an operating system and architecture listed with the approved build.
* Obtain the build and verification material from the same Podigee release channel.
* Do not use an unofficial package, mirror, or `curl | sh` installer.

## Install an approved release archive

1. Download the approved archive for your operating system and processor architecture.
2. Download its checksum manifest and signature from the same release.
3. Verify the signed checksum manifest.
4. Verify the archive checksum.
5. Verify the platform signature when the release provides one.
6. Extract the archive.
7. Put `pdg` or `pdg.exe` in a directory on your user `PATH`.
8. Open a new terminal.
9. Run:

```sh
pdg version
```

Do not combine an archive, checksum, or signature from different releases.

## Expected result

`pdg version` prints the installed approved version and exits successfully.

## If the command is not found

Confirm that the binary directory is in your user `PATH`. Open a new terminal after you change the path.

If a platform signature or checksum fails, delete the downloaded files and obtain a fresh set from the same approved release. Do not run an unverified binary.

## If you do not have an approved build

Use another compatible remote Model Context Protocol (MCP) client for workflows that do not need a local file. Wait for Podigee to announce a public `pdg` release channel before you install it from a package manager.

## Next step

[Sign in and out with the pdg CLI](/documentation/start-here/ai-agents/connect-and-authorize/sign-in-and-out-with-the-pdg-cli.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.podigee.com/documentation/start-here/ai-agents/connect-and-authorize/install-the-pdg-cli.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
