How to start IDE from the command line Follow
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 quickly find IDE path):
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 (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
Please sign in to leave a comment.
'.\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
Maomer 2214,
Please check whether you've switched to correct location. There's "idea.bat" file in "bin" directory under the IDE installation path.
.\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
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
```
For Windows:
pycharm.bat is now (February 2021) the executable (from \bin)
which should be launched from Command Prompt.