Skip to main content

Installation

macOS and Linux

Install the latest stable release:
After install, confirm the binary is available:

Windows

Install with winget:
Or install with Scoop after adding The Prompting Company bucket:
PowerShell is also supported:
If your execution policy blocks the installer, run this first in the same PowerShell session:
Manual fallback:
  1. Download the latest tpc_<version>_windows_amd64.zip or tpc_<version>_windows_arm64.zip from https://cli.promptingco.com/tpc/<version>/.
  2. Extract tpc.exe.
  3. Move tpc.exe to a directory on PATH, or add the new directory to PATH through System Properties -> Environment Variables -> Path.
  4. Open a new PowerShell or cmd session, then verify the install:

Update

Check whether a newer CLI build is available:
Upgrade the installed binary in place:

Install a specific version

Install a pinned version:
Install from a release channel:
Putting the variable before curl (TPC_VERSION=... curl ... | bash) does not work — that assignment only applies to curl’s environment, not to the bash process reading the script on the other side of the pipe. The variable has to sit right before bash.

Installer URL

The public installer is served from: