1.解压官网(http://www.grails.org/)下载的grails-bin-1.1.1.zip
2.创建一个 变量名为GRAILS_HOME
环境变量,变量值为zip解压后文件路径,如C:/grails-1.1.1
3.将%GRAILS_HOME%/bin添加到path环境变量
4.运行grails help,看到如下信息,证明配置成功
Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to:C:/grails-1.1.1........
grails运行于jvm,所以需要jdk环境变量支持(grails1.1已经不支持jdk1.4,所以jdk需要1.5以上)