This guide walks you through installing and configuring DX CLI on Windows environment within your organization.
TO DO
Currently, DX CLI supports Windows operating system. Linux support will be introduced in future releases.
Before installing, ensure the following required components are available on your system:
- 
Windows PowerShell 5.1 Installed by default on Windows. DX CLI requires Windows PowerShell to run in FullLanguagemode. You can verify the current mode by running the following command in a PowerShell session:
$ExecutionContext.SessionState.LanguageMode- 
Git Git must be installed and available in the users' system’s PATH. 
To get started, copy the following repositories into your organization’s internal source control platform (e.g., GitHub, GitLab, Azure DevOps, or Bitbucket):
- DX CLI installer: dx-installer
- DX CLI core: dx-core
And create an empty repository dx-packages that will be used for DX CLI packages.
Note: You can rename these repositories if needed. DX CLI will function correctly regardless of the repository names.
After copying the repositories into your organization’s internal source control platform, open the settings.json file located in the DX CLI installer repository and update the following required fields:
| Field | Type | Description | 
|---|---|---|
| emailDomain | string | The corporate email domain. For example, for kevin@startdevx.com, use startdevx.com | 
| repositories.core | string | The corporate Git clone URL of your DX CLI core repository | 
| repositories.packages | string | The corporate Git clone URL of your DX CLI packages repository | 
You can enable additional features in DX CLI installer by configuring the following optional fields in settings.json:
| Field | Type | Description | 
|---|---|---|
| ldapDirectory | string | Enables LDAP directory integration. DX CLI will retrieve the user’s name and email from the directory to configure Git. For example, LDAP://startdevx.com. If not set, it defaults to the local system user name. | 
| useProxy | boolean | If true, DX CLI automatically detects and configures corporate proxies by setting theHTTP_PROXYandHTTPS_PROXYenvironment variables | 
| repositories.analytics | string | To enable analytics, create an empty repository in your organization’s source control platform and specify its Git clone URL here. Ensure all DX CLI users have write access to this repository to allow pushing analytics data to the defaultbranch | 
Software engineers can now install it following the README.md instructions file located in the DX CLI installer repository.
DX CLI without features is an empty shell. Create your first feature by following the tutorial in the README.md file in the DX CLI core repository.
DX CLI is an open-source solution available on GitHub, crafted by Start DevX organization.