How to start IDE from the command line

Below are given the examples on how to start IDE from the command line on different OS. You should substitute the product name and version/build number in path according to your installation.

- Windows

- macOS

- Linux

Windows

cd "C:\Program Files\JetBrains\IntelliJ IDEA 2020.1\bin"
.\idea.bat

 

If you use Toolbox:

cd "%LOCALAPPDATA%\JetBrains\Toolbox\apps\IDEA-U\ch-2\201.4865.12\bin"
.\idea.bat

macOS

To get additional debug logging for troubleshooting launcher issues, set the environment variable before starting the IDE:

export IDEA_LAUNCHER_DEBUG=true

 

cd /Applications
./IntelliJ\ IDEA.app/Contents/MacOS/idea

 

If you use Toolbox:

cd /Users/<username>/Library/Application\ Support/JetBrains/Toolbox/apps/IDEA-U/ch-1/201.4865.12
./IntelliJ\ IDEA\ 2020.1.app/Contents/MacOS/idea

Linux

Change directory to “bin” under the IDE installation path and run:

./idea.sh

 

If you use Toolbox:

cd ~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-2/201.4865.12
./idea.sh

Please sign in to leave a comment.

Have more questions?

Submit a request