How to launch Intellij IDEA from command line
1 min readMar 1, 2019
Go to ‘Tools’ menu in Intellij IDEA and click on ‘Create Command-line Launcher…’
Choose a command to add to /user/local/bin
. Here I choose idea
as command. If you have different versions of Intellij IDEA then it is better to give some suffix to indicate version.
I usually use idea
for Ultimate edition and ideac
for Community edition.
Now, suppose your project for e.g. `MyProject` is in ~/git
. Then you can open the project in Intellij IDEA by using the command idea MyProject
.
If you are inside the project directory then you can open the project using command idea .