Installation
Install DCM on your operating system by following the instructions for your platform.
- macOS
- Linux
- Windows
Install Homebrew
First, ensure that Homebrew is installed on your system. Homebrew is a package manager for macOS that simplifies the installation of software. Visit the Homebrew website and follow the instructions to install Homebrew. Once installed, you can proceed with installing DCM.
Install DCM
After installing Homebrew, open your terminal and run the following commands to install DCM:
brew tap CQLabs/dcm
brew install dcm
Install a Specific Version
If you need to install a specific version of DCM, you can specify the version number as follows:
brew install [email protected]
Ensure that the Homebrew bin directory is included in your system's PATH environment variable. This makes it easier to run the dcm executable from any location in your terminal. For guidance on configuring your PATH, refer to the Homebrew FAQ.
Upgrade DCM
To keep your DCM installation up to date, upgrade to the latest version by running:
brew tap CQLabs/dcm
brew upgrade dcm
Troubleshooting
If Homebrew does not immediately pick up the latest changes, try reinstalling DCM:
brew reinstall dcm
Alternative Installation Method
If you prefer not to use Homebrew, or if you encounter any issues, you can download a .zip archive with the DCM executable directly from our GitHub repository. Visit the GitHub releases page and follow the instructions provided there to install DCM manually.
Add Package Repository
First, you need to add the package repository to your system. Open your terminal and run the following commands:
sudo apt-get update
wget -qO- https://dcm.dev/pgp-key.public | sudo gpg --dearmor -o /usr/share/keyrings/dcm.gpg
echo 'deb [signed-by=/usr/share/keyrings/dcm.gpg arch=amd64] https://dcm.dev/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list
To download a package for arm64 Linux devices, pass arch=arm64.
Install DCM
After adding the repository, update your package list and install DCM by running:
sudo apt-get update
sudo apt-get install dcm
Install a Specific Version
If you need to install a specific version of DCM, specify the version number as follows:
sudo apt-get install dcm=1.33.0-1 # Where `-1` is a build number
Alternative Installation Method
If you prefer to download the executable directly, you can get it as a Debian package from our GitHub repository. Download and install it using the following commands:
# for x64
wget https://github.com/CQLabs/homebrew-dcm/releases/download/1.33.0/dcm_1.33.0-1_amd64.deb
sudo dpkg -i dcm_1.33.0-1_amd64.deb
# for arm64
wget https://github.com/CQLabs/homebrew-dcm/releases/download/1.33.0/dcm_1.33.0-1_arm64.deb
sudo dpkg -i dcm_1.33.0-1_arm64.deb
Alternatively, you can download a .zip archive with the executable from our GitHub repository: Download DCM from GitHub.
Ensure that the executable is added to your PATH. This allows you to run the dcm command from any location in your terminal.
Install DCM Using Chocolatey
Chocolatey is a package manager for Windows that simplifies the installation of software. Open your command prompt and run the following command to install DCM:
choco install dcm
Install a Specific Version
If you need to install a specific version of DCM, specify the version number as follows:
choco install dcm --version 1.33.0
Upgrade DCM
To keep your DCM installation up to date, you can upgrade to the latest version by running:
choco upgrade dcm
Add DCM to PATH
If you cannot use the executables directly, you may need to add the DCM executable to your system's PATH. Follow these steps:
- In the Windows search box, type
env. - Click Edit the system environment variables.
- Click Environment Variables....
- In the user variables section, select
Pathand click Edit.... - Click New, and enter the path to the DCM executable.
- Click Apply or OK in each window to dismiss them and apply the changes.
Alternative Installation Method
If you prefer to download the executable directly, you can get it as a .zip archive from our GitHub repository. Visit the GitHub releases page and follow the instructions provided there to install DCM manually.
Next Steps
Once you are done, return to the Developer Setup page to continue with IDE setup and choose your plan.