Check installed version

wpc --version

Get available commands

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.

Global options

--repository=<URL>
string
default:"https://registry.wp-content.io"

Provide custom repository API url

--api-key=<KEY>
string

API Key to use

--output=<FORMAT>
string
default:"human"

Response format. Could be json or human

Environment variables

You can provide environment variables to override some global options.

export WPC_REPO_URL=https://registry.wp-content.io
export WPC_API_KEY=00000000-0000-0000-0000-000000000000