Share this page

# Install the Git Client

This topic describes how to install the Dimensions CM Git Client.

In this topic:

## Git Client installation guidelines

The Git Client installer uses a wizard to guide you through the installation. You can also install the Git Client in console or silent modes.

Guidelines:

- Git Client installers are available for Windows 64-bit, Linux, and macOS.

- Download the Git Client installation bundle from the AppDelivery Marketplace. From the zip file, extract the installer for your platform.

- Check that the Git Client supports your version of Git. For details, see Integrations.
- Install the Git Client on your local machine.
- Run the installer as a user with write access to the Git installation location.
- The installer automatically tries to identify the Git installations present on the local system.
- Linux: Check that “git” has been added to your PATH environment variable.

Back to top

## Install Git Client in console mode

You can install the Git Client in console mode.

To run the installer in console mode:

1. Download and extract the installer for your platform.

2. From a command prompt, change to the directory containing the installer.

3. As a user with write access to the Git installation location, run this command:

   Copy code

       <GitClient-installer-filename> -i console

   On Windows, a new shell for the console installation opens.

4. Follow the instructions at the command prompt.

Back to top

## Install Git Client in silent mode

You can run a silent-mode installation in the background, using a response file.

To install the Git Client silently:

1. In a text editor, create a response file. In the response file, specify the installation location for the software and at least one Git installation location.

   To specify multiple Git installation locations, see Advanced silent options.

   Windows response file example:

   Copy code

       #Git installation location
       #-----------
       CO_GIT_CHOOSER_LOC_INTERNAL=C:\\Program Files\\Git\\mingw64\\libexec\\git-core
       #Destination
       #-----------
       SILENT_INSTALL_DIR=c:\\apps\\Dimensions CM Git

   Note: Double backslash characters (\\) are required.

   Linux and macOS response file example:

   Copy code

       #Git installation location
       #-----------
       CO_GIT_CHOOSER_LOC_INTERNAL=/usr/libexec/git-core
       #Destination
       #-----------
       SILENT_INSTALL_DIR=/apps/dimensions_cm_git

   The SILENT_INSTALL_DIR location is created and then used to install the Dimensions CM software, a JRE, and an uninstaller.

   The CO_GIT_CHOOSER_LOC_INTERNAL location must exist, and you need write access to it to perform the installation.

2. From a command prompt, change to the directory containing the installer.

3. Run the command for the silent mode installation:

   Copy code

       <GitClient-installer-filename> -i silent -f <response.filename>

Back to top

## Advanced silent options

To specify multiple Git installation locations in the response file, add more paths to the property CO_GIT_CHOOSER_OC_INTERNAL.

Use path separators relevant for your system.

Windows example:

Copy code

    CO_GIT_CHOOSER_LOC_INTERNAL=C:\\Program Files\\Git\\mingw64\\libexec\\git-core\r\nC:\\Program Files (x86)\\Git\\mingw32\\libexec\\git-core

Linux and macOS example:

Copy code

    CO_GIT_CHOOSER_LOC_INTERNAL=/usr/libexec/git-core\n/opt/git/libexec/git-core/

Back to top

See also:

- Authenticate using Common Access Cards

https://admhelp.microfocus.com Dimensions CM 8942
Tips to improve your search results... Dimensions CM Help Center CM Help 14.7 All View Local Help Center View Online Help Center Version: