> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptingcompany.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI overview

> Terminal access to your workspace, organizations, and simulation workflows.

# CLI overview

The Prompting Company CLI gives you terminal access to your workspace, organizations, and simulation workflows.

The binary name is:

```text theme={null}
tpc
```

## Prerequisites

* macOS, Linux, or Windows
* `amd64` or `arm64`

Start with [Installation](/cli/installation), then [Authentication](/cli/authentication).

## Common commands

```bash theme={null}
# 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](/cli/commands/site-pages), [Analytics](/cli/commands/analytics), and [Simulation environments](/cli/commands/simulation-environments).
