Skip to main content

Usage

phala switch [profile-name]

Arguments

NameRequiredDescription
profile-nameNoName of the profile to switch to. If omitted, shows interactive picker
If no profile name is provided, shows an interactive picker.

Examples

Switch to specific profile

$ phala switch work
 Switched to profile: work

Interactive profile picker

$ phala switch
? Select a profile:
  default
 work
  personal

 Switched to profile: work

Verify active profile

$ phala switch work
 Switched to profile: work

$ phala status
 Authenticated as work@example.com
Profile: work

Switch in scripts

#!/bin/bash
phala switch work
phala deploy -n work-app

phala switch personal
phala deploy -n personal-app