How to use GetItCMD.exe

From RAD Studio
Jump to: navigation, search

The GetItCMD.exe is the Command Line version (CLI) of the GetIt Package Manager.

You can run GetItCMD.exe commands in the CLI of Windows or in the RAD Studio Command Prompt found on the Windows Start menu.

Then you just need to type GetItCmd [<Options>].

Displaying the help

To display the help for GetItCmd, run the -h or --help command:

GetItCmd -help

List of available commands

  • -i=<itemid> or --install=<itemid>: Install Item[s] separated with ";". These are the IDs of the GetIt packages available to install.
  • -if=<featureid> or --install_features=<featureid>: Install Feature[s] separated with ";". Available IDs:
    • delphi, delphi_windows, delphi_macos, delphi_linux, delphi_ios
    • delphi_android, cbuilder, cbuilder_windows, cbuilder_ios, cbuilder_android
    • french, german, japanese, samples, help
    • teechart, dunit, interbase_express, interbase_2020, openjdk
    • Android_sdk
  • -id or --installdeferred: Install deferred packages.
  • -u=<itemid> or --uninstall=<itemid>: Uninstall Item[s] separated with ";".
  • -d=<fileurl> or --download=<fileurl>: Download a file.
  • -l=<searchby> or --list=<searchby>: List all available items. Result set depends on sort and filter commands. This will list the package IDs you can later use in the -i command.
  • -s=[name/vendor/date] or --sort=[name/vendor/date]: Specifies the sort parameter for the list command. Default is "name".
  • -f=[all/installed] or --filter=[all/installed]: Specifies the filter parameter for the list command. Default is "installed".
  • -ra=<apppath> or --runapp=<apppath>: Run an application before exit.
  • -c=[useonline/useoffline] or --config=[useonline/useoffline]: Set up a GetIt system, so that it used the local, offline installer or the regular online installer.
  • -un=<username> or --username=<username>: User name for proxies with required authentication.
  • -p=<password> or --password=<password>: Password for proxies with required authentication.
  • -v=[quiet/minimal/normal/detailed] or --verb=[quiet/minimal/normal/detailed]: Specifies the verbose level for console output messages.
  • -ae or --accepteulas: The user accepts EULA[s] of downloaded package[s].
  • -dnsef or --donotsetenvfile: Do not set environment variables.
  • -h or --help: Print all available commands.
  • -ap=<appparams> or --appparams=<appparams>: Parameters for run application.

See Also