Generate terminal commands
Not available in: DataGrip
In addition to standard shell commands, you can type any text in the Terminal, for example, Rename current folder
. If AI Assistant identifies the input as a natural language, the AI mode will be enabled automatically. If your query is not recognized as a prompt, you can enable it manually.
In the Terminal tool window, click
(Ask AI Assistant) or press Ctrl+\.
Type your query and press Enter.
AI Assistant will generate a command taking into account the shell that you are using and your terminal context, such as the name of the current directory and the output of the previous commands.
Press Enter again to run this command.

Last modified: 15 April 2025