Skip to content

Fetch Scratch Org from Pool

Requirements:
SFP CLI installed locally

Reference: NAV Scratch Pool setup

In the examples below, replace devhub with the alias of your NAV Dev Hub alias (user).

Check access and available scratch orgs

Check that you have access to the pools by running the list command

Bash
sfp pool list --tag dev -a --targetdevhubusername devhub

If you do not have access contact Team Platforce

Fetch Scratch org

Use the sfp pool fetch command in order to fetch a scratch org.

⚠ Remember to delete your scratch org when done, in order to free up space in the pool.

Example command:

Bash
sfp pool fetch --tag dev --targetdevhubusername devhub --alias myScratchOrg --setdefaultusername

Delete Scratch org

When you are done with you scratch org delete it by using the delete scratch org command

Example:

Bash
sf org delete scratch --target-org myScratchOrg