Installation
macOS and Linux
Install the latest stable release:Windows
Install with winget:-
Download the latest
tpc_<version>_windows_amd64.ziportpc_<version>_windows_arm64.zipfromhttps://cli.promptingco.com/tpc/<version>/. -
Extract
tpc.exe. -
Move
tpc.exeto a directory onPATH, or add the new directory toPATHthrough System Properties -> Environment Variables -> Path. -
Open a new PowerShell or cmd session, then verify the install:
Update
Check whether a newer CLI build is available:Install a specific version
Install a pinned version: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.