IntelliJ IDEA 2019.2 Help

Working with IntelliJ IDEA Features from Command Line

Besides working from within IntelliJ IDEA, you can perform the following actions from the command line:

Enable a command-line launcher on Windows

Add the path to the IntelliJ IDEA bin folder to the Path environment variable (for example, C:\Program Files\JetBrains\IntelliJ IDEA\bin). After you configured the Path environment variable, you can run the IntelliJ IDEA commands.

Enable a command-line launcher on Linux and macOS

On macOS and Linux, create the command-line launcher to integrate IntelliJ IDEA with your shell. Ensure that the created launcher script is within the search path of your shell so that it can be invoked system-wide.

  1. In the main menu, choose Tools | Create Command-line Launcher. In the Create Launcher Script dialog, provide the name and the path of the launcher, or accept the suggested values.

  2. Outside of IntelliJ IDEA, add the path and the name of the launcher script to your path.

To launch IntelliJ IDEA from the command line

To launch IntelliJ IDEA from the command line, type the <IntelliJ IDEA> command in the command line and press N/A. <IntelliJ IDEA> is the platform-specific launcher.

Last modified: 19 August 2019

See Also