DataGrip 2018.2 Help

Install and set up DataGrip

Installation requirements

Hardware requirements

  • 2 GB RAM minimum, 4 GB RAM recommended
  • 500 MB hard disk space + at least 1 GB for caches
  • 1024x768 minimum screen resolution

Software requirements

JRE 1.8 is bundled with the DataGrip distribution. You do not need to install Java on your computer to run DataGrip.

WindowsmacOSLinux
32-bit or 64-bit versions of Microsoft Windows 10, 8, 7 (SP1), or Vista (SP2) macOS 10.8.3 or later
(only 64-bit systems are supported)
  • OS Linux (note that a 32-bit JDK is not bundled, so a 64-bit system is recommended)
  • KDE, Gnome or Unity desktop environment recommended
  • GCC/C++ or Clang

Download and install DataGrip

  1. Download DataGrip for your operating system.
  2. Do the following depending on your operating system:
    • Windows installation:
      1. Run the *.exe file you've downloaded.
      2. Run the datagrip-*.exe file you've downloaded.
      3. Follow the instructions in the installation wizard.
    • macOS installation:
      1. Open the .dmg package that you've downloaded, and drag DataGrip to the Applications folder.
      2. Open the datagrip-*.dmg package that you've downloaded, and drag DataGrip to the Applications folder.
    • Linux installation:
        1. Unpack the datagrip-*.tar.gz file to a different folder, if your current Download folder doesn't support file execution:
          tar xfz datagrip-*.tar.gz -C <new_archive_folder>

          The recommended installation location according to the filesystem hierarchy standard (FHS) is /opt. To install DataGrip into this directory, enter the following command:

          sudo tar xfz datagrip-*.tar.gz -C /opt/
        2. Switch to the bin subdirectory:
          cd <new archive folder>/DataGrip-*/bin
          For example,
          cd /opt/DataGrip-*/bin
        3. Run datagrip.sh from the bin subdirectory.

    Earlier DataGrip versions are available for download on the Previous DataGrip Releases page.

    Run DataGrip for the first time

    Import DataGrip settings

    When you start DataGrip for the first time, or after you have upgraded it from a previous version, the Complete Installation dialog opens where you can select whether you want to import the IDE settings:

    Complete Installation

    If this is your first instance of DataGrip, choose the Do not import settings option.

    Select the user interface theme

    Next, you will be prompted to select the UI theme. You can choose between the Default and the Darcula themes:

    db set UI theme

    Select a preferred dialect for SQL files

    On the next step, you are prompted to select a preferred dialect for SQL files. The selected dialect provides code assistance including syntax analysis, completion, and refactoring. If you plan to use different dialects, select <Generic SQL>.

    db installation preferreddialects

    Register DataGrip

    To try and evaluate DataGrip, you can download and install its trial version for free. The trial version is available for 30 days, whereupon you need to obtain and register a license.

    1. Do one of the following:
      • On the Welcome screen, click Configure | Manage License
      • Select Help | Register from the main menu
      db register
    2. Select how you want to register DataGrip:
      • JetBrains Account: select this option if you have a JetBrains Account that allows you to access your purchases and manage licenses (see What is JetBrains Account? to learn more).
      • Activation code: select this option if you have an activation code for DataGrip, and paste it to the text area.
      • License server: select this option to register DataGrip through the License Server web application that allows you to manage floating licenses and issue licenses to users who do not have direct internet access.

        To override the URL of the system proxy during initial DataGrip startup, use the -Djba.http.proxy property, which can be added as a JVM option.

        When performing silent install or managing DataGrip installations on multiple machines, you can set the JETBRAINS_LICENSE_SERVER environment variable to point the installation to the license server URL.

    Update DataGrip

    1. Download the latest version of DataGrip.
    2. Launch the setup as described in Download and install DataGrip.
    3. Choose whether you want to uninstall the existing DataGrip version together with its settings, caches and local history and follow the instructions of the installation wizard.

    Out of the box, standalone DataGrip installation is configured to check for updates automatically. It will notify you when a new version is available:

    db update restart

    DataGrip updates are usually patch-based: they are applied to the existing installation and only require you to restart the IDE. Note that these patches can only be applied sequentially, on top of one another. If an update is ignored or skipped, subsequent updates cannot be applied. Updating DataGrip in this case will require either downloading and reinstalling it or using the Ignored updates list to apply updates one by one.

    If the patch download takes a long time, you can send it to the background and continue working. Once download is complete, you will be prompted to restart, which should finalize the update.

    If you do not want to install the proposed update for some reason, you can ignore it by clicking the Ignore This Update button in the update dialog box. The ignored build's number will be added to the Ignored updates list, and you will not be prompted to install this particular build until you remove it from the list.

    Manage DataGrip through Toolbox App

    Toolbox App is a control panel that allows you to manage all JetBrains developer tools, including DataGrip, as well as your projects, from a single point of access. It lets you maintain different versions of the same tool, install updates and roll them back if needed. It also remembers your JetBrains Account and uses it to automatically log you in when you install and register new tools.

    1. Download Toolbox App.
    2. Launch the setup file.
    3. When the installation is complete, accept the JetBrains privacy policy and sign in to your JetBrains Account.

    Now you can manage existing tools, install new tools, and download updates:

    db toolbox app

    Perform silent installation on Windows

    Silent installation is performed without any user interface. It can be used by network administrators to install DataGrip on a number of machines and avoid interrupting other users.

    To perform silent install, run the installer with the following switches:

    • /S: Enable silent install

    • /D: Specify the path to the installation directory

    • /CONFIG: Specify the path to the silent configuration file

    For example:

    datagrip.exe /S /CONFIG=d:\temp\silent.config /D=d:\IDE\DataGrip

    Silent configuration file

    You can download the silent configuration file for DataGrip at https://download.jetbrains.com/datagrip/silent.config

    The silent configuration file defines options for installing DataGrip. With default options, silent installation is performed only for the current user (mode=user). If you want to install DataGrip for all users, open the silent configuration file with a text editor, change the value of the installation mode option (mode=admin) and run the installer as an administrator.

    Uninstall DataGrip silently

    To silently uninstall DataGrip, run the uninstaller with the /S switch as an administrator. The uninstaller is located in the installation directory under bin.

    Run cmd (Windows Command Prompt) as administrator, change to the DataGrip installation directory, and run the following:

    bin\uninstall.exe /S

    Install DataGrip as a snap package on Linux

    You can install DataGrip on Linux as a self-contained snap package. Since snaps update automatically, your DataGrip installation will always be up-to-date.

    DataGrip is distributed via two channels:

    • The stable channel includes only stable versions. To install the latest stable release of DataGrip, run the following command:

      $ sudo snap install datagrip --classic
    • The edge channel includes EAP builds. To install the latest EAP build of DataGrip, run the following command:

      $ sudo snap install datagrip --classic --edge

    When the snap is installed, you can launch it by running the datagrip command.

    To list all installed snaps, run sudo snap list. For more information, see the Snapcraft documentation.

    Last modified: 17 August 2018

    See Also