+ Start a Discussion
dinesh abcdinesh abc 

how to deploy apex class from one org to other org using salesforce dx

Navin Selvaraj23Navin Selvaraj23
Hi Dinesh,

If you are having Apex classes in Visual Studio code, then you an authorize the org which you need to deploy either it is scratch or non scratch org. then you can deploy the classes which ever you need to deploy. In Salesforce DX, using visual studio code, you can able to login to  multiple orgs and can able to select the org based on your option to deploy the apex classes.

Please mark it as the best answer if it helps you.

Navin S
dinesh abcdinesh abc
please provide me how any url or samples
Khan AnasKhan Anas (Salesforce Developers)