downloadingAndInstalling.adoc (grails-doc-4.0.11) | : | downloadingAndInstalling.adoc (grails-doc-4.0.12) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
---- | ---- | |||
You can find more information about SDKMAN usage on the https://sdkman.io/usage[ SDKMAN Docs] | You can find more information about SDKMAN usage on the https://sdkman.io/usage[ SDKMAN Docs] | |||
== Manual installation | == Manual installation | |||
For manual installation follow these steps: | For manual installation follow these steps: | |||
* https://github.com/grails/grails-core/releases[Download] a binary distribution of Grails and extract the resulting zip file to a location of your choice | * https://github.com/grails/grails-core/releases[Download] a binary distribution of Grails and extract the resulting zip file to a location of your choice | |||
* Set the GRAILS_HOME environment variable to the location where you extracted t he zip | * Set the GRAILS_HOME environment variable to the location where you extracted t he zip | |||
** On Unix/Linux based systems this is typically a matter of adding something li | ||||
ke the following `export GRAILS_HOME=/path/to/grails` to your profile | === Unix/Linux | |||
** On Windows this is typically a matter of setting an environment variable unde | ** This is typically a matter of adding something like the following `export GRA | |||
r `My Computer/Advanced/Environment Variables` | ILS_HOME=/path/to/grails` to your profile | |||
* Then add the `bin` directory to your `PATH` variable: | ** This can be done by adding `export PATH="$PATH:$GRAILS_HOME/bin"` to your pro | |||
** On Unix/Linux based systems this can be done by adding `export PATH="$PATH:$G | file | |||
RAILS_HOME/bin"` to your profile | ||||
** On Windows this is done by modifying the `Path` environment variable under `M | ===Windows | |||
y Computer/Advanced/Environment Variables` | ** Copy the path to the bin directory inside the grails folder you have download | |||
ed, for example, | ||||
--- | ||||
C:/path_to_grails/bin | ||||
--- | ||||
** Go to Environment Variables, you can typically search or run the command belo | ||||
w, the type env and then Enter | ||||
--- | ||||
Start + R | ||||
--- | ||||
** Edit the Path variable on User Variables / System Variables depending on your | ||||
choice. | ||||
** Paste the copied path in the Path Variable. | ||||
If Grails is working correctly you should now be able to type `grails -version` in the terminal window and see output similar to this: | If Grails is working correctly you should now be able to type `grails -version` in the terminal window and see output similar to this: | |||
[source,groovy,subs="attributes+"] | [source,groovy,subs="attributes+"] | |||
---- | ---- | |||
Grails version: {version} | Grails version: {version} | |||
---- | ---- | |||
End of changes. 1 change blocks. | ||||
9 lines changed or deleted | 25 lines changed or added |