Config IntelliJ Command-Line Interface (IntelliJ IDEA 2023.2.1 (Ultimate Edition)
Oct 02, 2023

Contents
referenceYou can use IntelliJ IDEA features from the command line

- create the file /usr/local/bin/idea with the following contents:
#!/bin/sh open -na "IntelliJ IDEA.app" --args "$@"
If you don’t have permissions to execute the script, you’ll meet ‘zsh: permission denied: idea’ error messasge.(I’m using zsh, mac terminal shell)

You need to set the execute permission on the file

intellij version
IntelliJ IDEA 2023.2.1 (Ultimate Edition) Build #IU-232.9559.62, built on August 23, 2023 Licensed to testUser Subscription is active until August 31, 2024. For educational use only. Runtime version: 17.0.8+7-b1000.8 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.5.1 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 10 Metal Rendering is ON Registry: ide.experimental.ui=true Non-Bundled Plugins: zielu.gittoolbox (500.0.15+222) Kotlin: 232-1.9.0-IJ9559.62
reference
Share article