grails environment variables ubuntu 1

grails environment variables ubuntu

export GRAILS_HOME=/path/to/grails
export PATH=$PATH:$GRAILS_HOME/bin

Here is what the above code is Doing:
1. It’s setting the GRAILS_HOME environment variable to the path where you installed Grails.
2. It’s adding the Grails bin directory to your PATH environment variable.

Now, you can run the grails command from anywhere on your system.

Similar Posts