Quick Start
1
Login to Porter
Authenticate with your Porter account:This opens your browser to complete authentication and automatically configures your default project and cluster.
2
Verify Configuration
3
Deploy Your App
Project and Cluster Configuration
After logging in, you may need to switch between projects or clusters.List Available Projects
Set Active Project
List Available Clusters
Set Active Cluster
Create a Cluster
Provision a new cluster in the current project. Porter picks the cloud provider from the cloud account you select and chooses a Kubernetes version and node groups for you.
Run without flags for an interactive walkthrough, or pass every flag for non-interactive use:
Provisioning is asynchronous and can take up to an hour. The command prints the cluster’s dashboard URL as soon as the request is accepted so you can track progress. Cluster creation incurs a base monthly cost that varies by provider; the confirmation prompt shows the estimate before you commit.
View Current Configuration
Global Flags
These flags can be used with any Porter command:Environment Variables
Environment variables provide an alternative way to configure the CLI, which is especially useful in CI/CD pipelines.Environment variables take precedence over values in your config file, but flags take precedence over environment variables.
Example: CI/CD Configuration
Common Workflows
Local Development
CI/CD Deployment
Managing Environment Variables
Debugging
Viewing Help
You can view help instructions for any command using the-h or --help flag:
Next Steps
- Learn about configuration-as-code with
porter.yaml - Explore the full command reference for detailed options
- Set up CI/CD deployment for automated deployments

