Use the CLI to Open Your Packaging Org

Remember when you authenticated the CLI to your Packaging Org? Great news! That means you can use the CLI to open that org anytime you want, without having to enter you username and password again!

In this exercise, you will…

  • Use the CLI’s force:org:open command to open your packaging org

Use the CLI’s force:org:open command to open your packaging org

Execute this command:

sfdx force:org:open -u PkgOrg
Salesforce DX Command / Flags Description
force:org:open Opens an org in your browser.
-u (--targetusername) A username or alias for the target org. Overrides the default target org.

After executing the above, your terminal should look something like this:

Updated: