1 Official website download address: https://groovy.apache.org/download.html
2 Download and unzip directly
3. It is somewhat similar to java. Configure environment variables: [Properties] -> [Advanced System Settings] -> [Environment Variables] -> [New] under the system variable column, enter GROOVY_HOME for the variable name, and enter the path of the decompressed file for the variable value.
4 Modify [Path], edit and add %GROOVY_HOME%\bin. Specific operation process: Find 【Path】-> 【Edit】-> 【New】->【Input %GROOVY_HOME%\bin】in the system variable column
5 Verify that the installation is successful groovy -v
6 Create a groovy project
When opening Idea to create a project, select Groovy, and select the directory just unzipped for the corresponding library