1.下载Grails([url]http://grails.org/Download[/url])2.设置环境变量GRAILS_HOME(注意大写),路径为你解压的grails-bin.zip的路径3.将%GRAILS_HOME%\bin添加到环境变量path中