### Linux command-line plugin installation examples Source: https://www.jetbrains.com/help/datagrip/install-plugins-from-the-command-line.html Examples of installing the GitHub plugin and a custom plugin on Linux. ```bash $ datagrip.sh installPlugins org.jetbrains.plugins.github ``` ```bash $ datagrip.sh installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml ``` -------------------------------- ### Windows command-line plugin installation examples Source: https://www.jetbrains.com/help/datagrip/install-plugins-from-the-command-line.html Examples of installing the GitHub plugin and a custom plugin on Windows. ```bash > datagrip64.exe installPlugins org.jetbrains.plugins.github ``` ```bash > datagrip64.exe installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml ``` -------------------------------- ### macOS command-line plugin installation examples Source: https://www.jetbrains.com/help/datagrip/install-plugins-from-the-command-line.html Examples of installing the GitHub plugin and a custom plugin on macOS. ```bash $ datagrip installPlugins org.jetbrains.plugins.github ``` ```bash $ datagrip installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml ``` -------------------------------- ### HTTP request with comment Source: https://www.jetbrains.com/help/datagrip/exploring-http-syntax.html Example of a basic GET request with a comment line starting with //. ```http // A basic request GET http://example.com/a/ ``` -------------------------------- ### Example JVM options file Source: https://www.jetbrains.com/help/datagrip/tuning-the-ide.html A sample configuration file showing how to specify memory heap limits and garbage collection ratios, with each option on a separate line. ```text -Xmx4G -Xms2G -XX:NewRatio=4 ``` -------------------------------- ### Example idea.properties configuration Source: https://www.jetbrains.com/help/datagrip/tuning-the-ide.html A sample configuration file showing how to override the default file size limit for coding assistance and the console cyclic buffer size. ```properties idea.max.intellisense.filesize=5000 idea.cycle.buffer.size=1024 ``` -------------------------------- ### Example XML request Source: https://www.jetbrains.com/help/datagrip/http-client-in-product-code-editor.html A basic GET request example for an XML endpoint. ```http GET https://examples.http-client.intellij.net/xml ``` -------------------------------- ### Perform silent installation Source: https://www.jetbrains.com/help/datagrip/installation-guide.html Example command to run the DataGrip installer silently with a configuration file and custom installation directory. ```bash datagrip.exe /S /CONFIG=d:\temp\silent.config /D=d:\IDE\DataGrip ``` -------------------------------- ### Windows example for dataSources list Source: https://www.jetbrains.com/help/datagrip/cli-commands-list.html Example of the `datagrip.exe dataSources list` command on Windows with a project path. ```bash datagrip.exe dataSources list -p C:\my_projects\cli_for_data_sources\ ``` -------------------------------- ### macOS example for dataSources list Source: https://www.jetbrains.com/help/datagrip/cli-commands-list.html Example of the `datagrip dataSources list` command on macOS with a project path. ```bash datagrip dataSources list -p ~/my_projects/cli_for_data_sources/ ``` -------------------------------- ### Perform silent installation with logging Source: https://www.jetbrains.com/help/datagrip/installation-guide.html Example command to run the DataGrip installer silently while generating a log file to troubleshoot installation issues. ```bash datagrip.exe /S /CONFIG=d:\temp\silent.config /LOG=d:\JetBrains\DataGrip\install.log /D=d:\IDE\DataGrip ``` -------------------------------- ### Linux example for dataSources list Source: https://www.jetbrains.com/help/datagrip/cli-commands-list.html Example of the `datagrip.sh dataSources list` command on Linux with a project path. ```bash datagrip.sh dataSources list -p ~/my_projects/cli_for_data_sources/ ``` -------------------------------- ### Short form GET request Source: https://www.jetbrains.com/help/datagrip/exploring-http-syntax.html Example of a GET request using the short form, omitting the method and specifying only the URI. ```http // A basic request https://example.com/a/ ``` -------------------------------- ### Example Argument Configuration Source: https://www.jetbrains.com/help/datagrip/settings-tools-external-tools.html An example of how to format arguments for an external tool, including the use of escaped double quotes and spaces. ```text -Dmy.prop=\"quoted_value\" "second arg" third" "arg ```