Skip to main content

How to Install NDMerge

NDMerge is automatically installed in the Next Design installation folder when you install Next Design.
If you want to use NDMerge without installing Next Design, follow the steps below to install it.

Installation Instructions

  1. Download the complete set of NDMerge files (zip file) from the support site below.

https://www.nextdesign.app/support/auth/downloads/#ndmerge

Caution

After downloading the zip file, disable security before extracting the files:
(1) Right-click the zip file and select Properties.
(2) Read the Security information at the bottom of the General tab, check the Allow checkbox on the right, and click OK.

  1. Extract the zip file to the desired installation folder.
  2. Launch Terminal and navigate to the installation folder.
  3. Execute the following command:
.\ndmerge git-setup install

For more information about this command, see here.

  1. If you want to use NDMerge in conjunction with the Git merge command, follow these instructions to set up the ".gitattributes" file.

Note that this program requires the installation of .NET 8.0.

Confirming Installation

  • When you run the setup command for NDMerge, it is configured in the global gitconfig (for each OS login user).
  • You can check the configured settings by executing the following command in the installation folder.
./ndmerge git-setup list
  • If the merge.NDMerge.driver item is added to the configuration, the settings are correct.

  • Example of execution for Windows

> ./ndmerge git-setup list
exec: git config merge.NDMerge.name
nd diff merge application
exec: git config merge.NDMerge.driver
'[absolute path for each user environment]/ndmerge.exe' merge -o %A -t %B -b %O -m %A -p %P -l warn
Caution
  • NDMerge will not work if the path set in gitconfig and the storage folder location are different.
    If you move the storage folder, run the setup command again to update the gitconfig settings.

Update Procedure

If you already have NDMerge installed, follow the steps below to update to the new version of NDMerge.

  1. Download the complete set of NDMerge files (zip file) for the new version from the support site below.

https://www.nextdesign.app/support/auth/downloads/#ndmerge

Caution

After downloading the zip file, disable security before extracting the files as follows.
(1) Right-click the zip file and select [Properties].
(2) Read the "Security" information displayed at the bottom of the "General" tab, check the "Allow" checkbox on the right, and click the "OK" button.

  1. Delete all existing files in the installation folder.
  2. Extract the new version's zip file to the installation folder.
  3. Launch Terminal and navigate to the installation folder.
  4. Execute the following command to confirm that the update to the new version was successful.
.\ndmerge --version

Uninstallation Procedure

  1. Launch a terminal and navigate to the NDMerge installation folder.
  2. Execute the following command:
./ndmerge git-setup uninstall
  1. Delete the contents of the .gitattributes file in .gitattributes settings.
  2. If there are no settings other than NDMerge in the .gitattributes file, run the following command:
git config --global --unset core.attributesfile
  1. Delete all files in the installation folder.