function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yash Kumar GuptaYash Kumar Gupta 

Can anyone tell me how to open a scratch org created in another machine

Hi All,
I have instance URL and access token of scratch org which is created on another matchine. Can anyone tell me how to open it with CLI command?
ShirishaShirisha (Salesforce Developers) 
Hi Yash,

Greetings!

You can copy the Project and paste it in your machine.Once,you have project in which you have created the scratch org then you will have to open the file in the VS code.

Then,you can use the below commands to login into the scratch org:

https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_create.htm

Can you please try the above steps to proceed further.

Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.

Warm Regards,
Shirisha Pathuri