Skip to main content

Usage

phala link [cvm-id] [options]

Arguments

NameRequiredDescription
cvm-idNoCVM ID or name (launches interactive picker if omitted)

Options

FlagShortDefaultDescription
--json-jfalseJSON output

Examples

Link with interactive CVM picker:
$ phala link
Link to specific CVM by ID:
$ phala link app_abc123
Link to specific CVM by name:
$ phala link my-app
Link with JSON output:
$ phala link app_abc123 --json

Configuration File

The phala.toml file is created in the current directory with the following structure:
cvm_id = "app_abc123"
Once linked, commands like phala ssh, phala logs, and phala cp :path automatically use this CVM ID.