gsqlcmd Install and Uninstall

gsqlcmd Install and Uninstall

Available Packages

gsqlcmd is available with the following packages:

  • gsqlcmd Installer for Windows (.NET Framework 4.7.2)
  • gsqlcmd Portable for Windows (.NET Framework 4.7.2 or .NET Runtime 6.0)
  • gsqlcmd Portable for Windows and Linux (.NET Runtime 6.0)

The portable versions require that the target .NET framework must be installed.

You may download and install the required frameworks here:

gsqlcmd Installer for Windows

To install gsqlcmd, unzip the downloaded gsqlcmd package and run setup.exe.

gsqlcmd requires .NET Framework 4.7.2. The setup.exe prompts to install it from the Microsoft website if it is not installed.

Log off and log on to activate the PATH environment variable.

To test the installation, run in the command prompt:

gsqlcmd

By default, gsqlcmd activates a free edition. Test it first.

Try examples from the downloaded gsqlcmd package.

To activate the trial version or the purchased license, run:

gsqlcmd register

To update gsqlcmd, unzip the downloaded gsqlcmd package and run setup.exe.

You can use the built-in AutoUpdate tool to check updates periodically and install updates.

To uninstall gsqlcmd, open Control Panel, Programs and Features, select gsqlcmd and click the Uninstall button.

gsqlcmd Portable for Windows

The portable version for Windows is available for .NET Framework 4.7.2 and .NET Runtime 6.0.

To install the portable version, unzip the downloaded package to a local folder.

You may add the folder to the PATH environment variable.

To activate the trial version or the purchased license, run:

gsqlcmd register

The gsqlcmd version for Windows saves the activation data in the Windows Registry.

To update the version, just unzip a package of the new version into the same folder.

To remove the portable version, remove its folder.

gsqlcmd Portable for Windows and Linux

To install the portable version, unzip the downloaded package to a local folder.

You may add the folder to the PATH environment variable.

To run gsqlcmd, use the following command:

dotnet gsqlcmd.dll

To activate the trial version or the purchased license, run:

dotnet register.dll

The gsqlcmd version for Windows and Linux saves the activation data in the gsqlcmd.reg.txt file.

To update the version, just unzip a package of the new version into the same folder.

To remove the portable version, remove its folder.