Skip to main content

macOS

To install DCM on macOS, follow these steps:

Step 1: 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.

Step 2: Install DCM​

After installing Homebrew, open your terminal and run the following commands to install DCM:

brew tap CQLabs/dcm
brew install dcm

Step 3: 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]
warning

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.

Step 4: 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.

Next​

Once you are done, let's move on to next step to setup your IDE.