Skip to main content

CLI overview

The Prompting Company CLI gives you terminal access to your workspace, organizations, and simulation workflows. The binary name is:
tpc

Prerequisites

  • macOS, Linux, or Windows
  • amd64 or arm64
Start with Installation, then Authentication.

Common commands

# Show current auth state
tpc auth whoami

# Show installed CLI version
tpc version
tpc --version

# Check for updates
tpc update --check

# Install latest update
tpc update

# List organizations
tpc org list

# Switch active organization
tpc org switch prompting-co

# List pages for the active product
tpc product switch my-product
tpc site page list

# Show simulation command help
tpc sim help

# Show environment list help without requiring auth
tpc env list -h

# List simulation environments
tpc env list

Next step

Once installed and authenticated, you can move into product and simulation workflows from the terminal. See Site pages, Analytics, and Simulation environments.