Terminal plugin

You can install the Terminal plugin and then use Terminal right in DataGrip.

To install a plugin, open Settings &shortcut:ShowSettings; and navigate to Plugins. Type Terminal in the search field and click Install.

Install the Terminal plugin