byforcedotcom· 116 skills
Switches the active Salesforce org (default target-org) using the Salesforce CLI. Use whenever someone wants to change which org CLI commands run against — whether they say \"switch org\", \"change default org\", \"set my org to\", \"use alias\", \"point to\", or describe wanting to work against a specific org, scratch org, sandbox, or production.
$npx -y skills add forcedotcom/sf-skills --skill dx-org-switchInstalls into the current project.
Run `npx skills use "https://github.com/forcedotcom/sf-skills" --skill "forcedotcom/sf-skills/dx-org-switch"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/forcedotcom/sf-skills" that are relevant to the current task. Run `npx skills add "https://github.com/forcedotcom/sf-skills"` and select the relevant skills, then follow their instructions.