Multiple instances
An instance name is the local label that selects one site’s saved configuration. Give each instance a name that clearly identifies its purpose or hostname.
List saved instances
Section titled “List saved instances”yarn manage instancesThe output identifies production, preview, and local state and marks the current default when one exists.
Select the default
Section titled “Select the default”yarn manage use <instance-name>You can also avoid changing the default by adding --instance <name> to a
supported command:
yarn manage status --instance personal-notes-example-comyarn manage deploy --instance studio-updates-example-comAdd another site
Section titled “Add another site”Use yarn manage init --instance <name> for a new site. Use
yarn manage connect --worker <worker-name> --instance <name> for an existing
compatible Worker. Initialization may create Cloudflare resources; connect is
read-only in Cloudflare.
Avoid targeting mistakes
Section titled “Avoid targeting mistakes”Before a deployment, restore, authentication change, or removal:
- Run
yarn manage status --instance <name>. - Match the Worker name and Cloudflare account to the intended site.
- Use the same explicit
--instancevalue for the change.
Never choose an account or instance only because it appears first in a list.

