Skip to content

Commit

Permalink
Merge pull request #787 from tinashekadiki/patch-1
Browse files Browse the repository at this point in the history
Update windows download and install docs
  • Loading branch information
puneetbehl authored Aug 11, 2021
2 parents 8c5f1a2 + 575160d commit 3fe0374
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions src/en/guide/gettingStarted/downloadingAndInstalling.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,26 @@ 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
* Set the GRAILS_HOME environment variable to the location where you extracted the zip
** On Unix/Linux based systems this is typically a matter of adding something like the following `export GRAILS_HOME=/path/to/grails` to your profile
** On Windows this is typically a matter of setting an environment variable under `My Computer/Advanced/Environment Variables`
* Then add the `bin` directory to your `PATH` variable:
** On Unix/Linux based systems this can be done by adding `export PATH="$PATH:$GRAILS_HOME/bin"` to your profile
** On Windows this is done by modifying the `Path` environment variable under `My Computer/Advanced/Environment Variables`
=== Unix/Linux
** This is typically a matter of adding something like the following `export GRAILS_HOME=/path/to/grails` to your profile
** This can be done by adding `export PATH="$PATH:$GRAILS_HOME/bin"` to your profile

===Windows
** Copy the path to the bin directory inside the grails folder you have downloaded, for example,
---
C:/path_to_grails/bin
---

** Go to Environment Variables, you can typically search or run the command below, 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:

Expand Down

0 comments on commit 3fe0374

Please sign in to comment.