When I did the groovy set up on a windows machine, I never thought I would like an article about the same [How to configure groovy in Mac intelij] when I will do it in mac. The reason is obvious: It's not straightforward in mac. So let me share the steps which I followed to install groovy in mac:
1. You can make sure you have brew (Homebrew) installed in your mac. To check this, You can run thsi command in the terminal:
brew --versionIf it returns something like:
Homebrew 3.1.7
It means you have brew installed in your mac.
2. If the above command says, the brew is not found/recognized, it means you have to install it.
You can open this site:
https://brew.sh/
And inside that, you will see, Install homebrew.
Copy the command and paste it to the terminal and run it.
It will take some time, but it will install brew in your mac.
3. Once homebrew is in your machine, you can install groovy with this command in terminal:
brew install groovy
groovy --version
where groovy
/usr/local/bin/groovy
7. Now the problem comes in mac. Because when you click on create in IntelliJ for setting up the library:
No comments:
Post a Comment