To enhance NetBeans with Groovy and Grails support we add the Groovy and Grails plugin to the IDE. We select Tools | Plugins and go to the Available Plugins tab. We type Grails
in the Search field to look for the plugin. We select the plugin and press the Install button.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-gRpdu5ZXOyu6xey-YDUk2CarC08vCI54vogNEALzuOlJ-xWdkvOymTg_lEQqRNMQflf8N0Yx722IqppoEI-wt1B6nfbiDBwxVZx7YFllF38NI04TrLpsXRkDCvgDaI7miGA4Cyw6PXlm/s320/blog-nb-grails-plugin.png)
NetBeans downloads the plugin and installs it. After the installation we can restart the IDE to enable the plugin. As a last step we configure the plugin by specifying the Grails installation directory. We go to Tools | Options | Miscellaneous | Groovy and set the Grails home directory in Grails Home:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUkQ4ouSSSSIfxqJ7gojlXDpNhjFXlOlI2eA7h9UPhhDShfApqoBdT2y1LebuQGkvEqJXTEEcNxSyWTvnImrI6sgYzLNgsDje9MT2gbLw18dvRQpXEcCBGwP6vOO8Jf2y0E0qJXuTbT41C/s320/blog-nb-grails-prj2.png)
NetBeans is now setup to create Grails applications.