phala) is a command-line tool for deploying and managing Confidential Virtual Machines (CVMs) on Phala Cloud.
For installation and quick start, see Getting Started with the CLI.
Authentication
Deployment
| Command | Description |
|---|---|
deploy | Deploy new CVM or update existing one |
instance-types | List available instance types |
App Management
CVM Operations
| Command | Description |
|---|---|
logs | Fetch logs from a CVM (container, serial, stdout/stderr) |
ps | List containers of a CVM |
ssh | Connect to a CVM via SSH |
cp | Copy files to/from a CVM via SCP |
runtime-config | Show CVM runtime configuration |
Advanced
Environment Variables
| Variable | Description |
|---|---|
PHALA_CLOUD_API_KEY | Override the stored API key |
PHALA_CLOUD_API_PREFIX | Override the API base URL |
PHALA_CLOUD_DIR | Override the credentials directory (default: ~/.phala-cloud) |
PHALA_UPDATE_CHANNEL | Release channel for self update (e.g., latest, beta) |
Configuration
- Project config:
phala.tomlin working directory (seedeploy) - Credentials:
~/.phala-cloud/

