gsqlcmd Installation and Uninstallation Instructions
Available Packages
gsqlcmd is available in the following packages:
- gsqlcmd Installer for Windows (.NET Framework 4.7.2)
- gsqlcmd Portable for Windows (.NET Framework 4.7.2 or .NET Runtime 8.0)
- gsqlcmd Portable for Windows and Linux (.NET Runtime 8.0)
The portable versions require the appropriate .NET framework to be installed.
You can download the required frameworks here:
gsqlcmd Installer for Windows
To install gsqlcmd, unzip the downloaded package and run setup.exe
.
gsqlcmd requires .NET Framework 4.7.2. If it's not installed, the setup.exe will prompt you to install it from the Microsoft website.
Log off and log back on to activate the PATH environment variable.
To test the installation, run the following command in the command prompt:
gsqlcmd
By default, gsqlcmd activates a free edition. Test it first.
You can try examples included in the downloaded gsqlcmd package.
To activate the trial version or a purchased license, run:
gsqlcmd register
To update gsqlcmd, unzip the new package and run setup.exe
.
You can also use the built-in AutoUpdate tool to periodically check for and install updates.
To uninstall gsqlcmd, open Control Panel, go to 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 8.0.
To install the portable version, unzip the downloaded package to a local folder.
You may add this folder to the PATH environment variable.
To activate the trial version or a purchased license, run:
gsqlcmd register
The Windows version of gsqlcmd saves the activation data in the Windows Registry.
To update the version, simply unzip the new version's package into the same folder.
To remove the portable version, delete its folder.
gsqlcmd Portable for Windows and Linux
To install the portable version, unzip the downloaded package to a local folder.
You may add this folder to the PATH environment variable.
To run gsqlcmd, use the following command:
dotnet gsqlcmd.dll
To activate the trial version or a purchased license, run:
dotnet register.dll
The version for Windows and Linux saves the activation data in the gsqlcmd.reg.txt
file.
To update the version, simply unzip the new version's package into the same folder.
To remove the portable version, delete its folder.
Contents