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 (see this comment on how to find IDE path quickly):

cd "%LOCALAPPDATA%\JetBrains\Toolbox\apps\IDEA-U\ch-2\201.4865.12\bin"
.\<IDE name>.bat

Where <IDE name> is either idea, phpstorm, goland, datagrip or other. 

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 (see this comment on how to quickly find IDE path):

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 (see this comment on how to quickly find IDE path):

cd ~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-2/201.4865.12
./idea.sh
12 comments
Comment actions Permalink

'.\idea.bat' is not recognized as an internal or external command,
operable program or batch file.

what should I do .😫

windows 10-2004

PyCharm Community Edition 2020.1.2 x64

-2
Avatar
Arseniy Nisnevich
Comment actions Permalink

Maomer 2214,

Please check whether you've switched to correct location. There's "idea.bat" file in "bin" directory under the IDE installation path.

0
Comment actions Permalink

.\idea.bat' is not recognized as an internal or external command,
operable program or batch file.

Please help I don't know what to do

-1
Comment actions Permalink

This article is inaccurate for PowerShell (with toolbox) please update. This works, at least to get you to the outside directory, then you have to dive into the right versions, which is not static.

```
cd $env:LOCALAPPDATA\JetBrains\Toolbox\apps\IDEA-U
```

Edited by Caleb Cushing
0
Comment actions Permalink

For Windows:

pycharm.bat  is now (February 2021) the executable (from \bin)
which should be launched from Command Prompt.

Edited by Solid Tester
1
Comment actions Permalink

I think this needs updates if you are using the Jetbrains ToolBox, my path on Mac OS X was:

~/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app

 

0
Comment actions Permalink

cd /Applications

./PhpStorm.app/Contents/MacOS/phpstorm

For PHPStorm without Toolbox.

0
Comment actions Permalink

In Linux, this path works for me:

/snap/phpstorm/current/bin/ltedit.sh
0
Comment actions Permalink

I can start webstorm by command line on linux but i didn't find any solution to detach it from the shell even with "&" at the end of the line, is there a way to achieve that ?

0
Comment actions Permalink

Junkbot Exe+jetbrains You can try with 1>/dev/null 2>/dev/null &

0
Comment actions Permalink

I am running PyCharm 2022.2.1 in Win11 and the IDE won't start by double clicking the icon or by running from command line. The following is the output when running from command line. Please advise.

C:\Program Files\JetBrains\PyCharm 2022.2.1\bin>pycharm.bat
2022-09-13 08:44:20,515 [   3056]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\lib, version=222.3739.56, package=com.intellij.feedback, isBundled=true)
2022-09-13 08:44:20,528 [   3069]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\lib, version=222.3739.56, package=com.intellij.feedback, isBundled=true)
2022-09-13 08:44:20,530 [   3071]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "NetBeans 6.5" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\lib, version=222.3739.56, package=com.intellij.feedback, isBundled=true)
2022-09-13 08:44:20,531 [   3072]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\lib, version=222.3739.56, package=com.intellij.feedback, isBundled=true)
2022-09-13 08:44:20,619 [   3160]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=HTML Tools, id=HtmlTools, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\htmltools, version=222.3739.56, package=null, isBundled=true)
2022-09-13 08:44:20,635 [   3176]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\github, version=222.3739.56, package=org.jetbrains.plugins.github, isBundled=true)
2022-09-13 08:44:20,642 [   3183]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Space, id=com.jetbrains.space, moduleName=intellij.space.vcs, descriptorPath=intellij.space.vcs.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\space, version=222.3739.56, package=com.intellij.space.vcs, isBundled=true)
2022-09-13 08:44:20,645 [   3186]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\JavaScriptLanguage, version=222.3739.56, package=null, isBundled=true)
2022-09-13 08:44:20,646 [   3187]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\JavaScriptLanguage, version=222.3739.56, package=null, isBundled=true)
2022-09-13 08:44:20,667 [   3208]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\python, version=222.3739.56, package=null, isBundled=true)
2022-09-13 08:44:20,668 [   3209]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "NetBeans 6.5" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\python, version=222.3739.56, package=null, isBundled=true)
2022-09-13 08:44:20,672 [   3213]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\python, version=222.3739.56, package=null, isBundled=true)
2022-09-13 08:44:20,673 [   3214]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2022.2.1\plugins\python, version=222.3739.56, package=null, isBundled=true)
0

Please sign in to leave a comment.

Have more questions?

Submit a request