How to install two different versions of IntelliJ IDEA (Ultimate Ed.) using Homebrew to custom locations/file names?
已回答
I normally install the latest version of IntelliJ IDEA (Ultimate Edition) by Homebrew on macOS:
```
brew install intellij-idea
```
and it installs it at /Applications/IntelliJ IDEA.app .
For some reason, I need to install an earlier version of it too but to a different place/file name
/Applications/IntelliJ_IDEA_2024.3.2.1.app
Any help?
请先登录再写评论。
To install both versions of IntelliJ IDEA you need to add the version number to the brew install command so each version will keep a different name: brew install <formula>@<version>
Below are a couple of useful links:
Example: https://dev.to/micmath/manage-multiple-versions-of-php-with-homebrew-4dba
Command usage: https://stackoverflow.com/questions/7751222/multiple-side-by-side-versions-with-homebrew
Also, an easy way to maintain multiple versions side by side is installing JetBrains Toolbox App to handle several versions of the same IDE.