Set Up Salesforce DX Env

DX Stands for Developer Experience. Set up Visual Studio Code, Salesforce CLI, etc. Set Up the Project on Your Local Machine. Create and Test a Scratch Org.

Dev Hub org allows you to create, delete, and manage your scratch orgs. You can also authorize other existing orgs, such as sandbox or packaging orgs, to provide more flexibility when using CLI commands. For example, after developing and testing an application using scratch orgs, you can deploy the changes to a centralized sandbox. Or you can export a subset of data from an existing production org and import it into a scratch org for testing purposes.