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

# Usage

Check installed version

```bash theme={null}
wpc --version
```

Get available commands

```bash theme={null}
wpc list
```

## API Key

Most actions require a valid API key. You can provide an API Key by using the global option or by defining an environment variable.
[Manage API Keys](/account/api-keys).

## Global options

<ParamField path="--repository=<URL>" type="string" default="https://registry.wp-content.io">
  Provide custom repository API url
</ParamField>

<ParamField path="--api-key=<KEY>" type="string">
  API Key to use
</ParamField>

<ParamField path="--output=<FORMAT>" type="string" default="human">
  Response format. Could be `json` or `human`
</ParamField>

## Environment variables

You can provide environment variables to override some global options.

```bash theme={null}
export WPC_REPO_URL=https://registry.wp-content.io
export WPC_API_KEY=00000000-0000-0000-0000-000000000000
```
