Documentation Index
Fetch the complete documentation index at: https://docs.porter.run/llms.txt
Use this file to discover all available pages before exploring further.
porter config contains commands for managing local CLI configuration settings.
porter config
Display the current CLI configuration, including project, cluster, and authentication details.
Usage:
| Flag | Description |
|---|---|
--show-token | Display the CLI authentication token in the output. By default, the token is hidden for security. Pass this flag to reveal the token value. |
Configuration values can be overridden using flags or environment variables. See Basic Usage for details.
porter config set-project
Set the active project. This command shows a list of projects you have access to and lets you select one.
Usage:
porter config set-cluster
Set the active cluster. This command shows a list of clusters in the current project and lets you select one.
Usage:
Configuration File
Porter stores configuration in~/.porter/config.json. You can also override settings using environment variables:
| Variable | Description |
|---|---|
PORTER_PROJECT | Override project ID |
PORTER_CLUSTER | Override cluster ID |
PORTER_TOKEN | Override authentication token |
PORTER_HOST | Override API host |

