Create Command-line Launcher Intellij not found
For Mac OS with +2019 Intellij:
- You'll need JetBrains ToolBox
- Turn on Generate shell scripts (no longer in tools > create command line launcher)
- Set path to /usr/local/bin/
- Delete your old executable in /usr/local/bin/
- Quit and re-launch toolbox
As I said in the comments of the question.
At least when using Idea Community 2019.1 EAP + Jetbrains Toolbox, even in Linux that option is disabled.
You must access the Jetbrains Toolbox->settings (the gear next to the 'Log in' button), there will be a "Generate shell scripts" option and location to set.Set a location that you can access without sudo, and put that location on your PATH or copy the generated script to a path like /usr/local/bin.
I needed that to be able to use kscript --idea xxxx.kts(putting this here so that the next person googling that finds the answer :) )
This option is not available on Windows, otherwise you can find it in the Tools menu.
Tools
| Create Command-line Launcher (available on Mac/Linux).
If IDE installation is managed by the JetBrains Toolbox, launcher options will not be available in the IDE and you should use Toolbox settings to create a launcher instead.