You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Clone the Grav repository from [https://github.com/getgrav/grav]() to a folder in the webroot of your server, e.g. `~/webroot/grav`. Launch a **terminal** or **console** and navigate to the webroot folder:
49
-
```
50
-
$ cd ~/webroot
51
-
$ git clone https://github.com/getgrav/grav.git
49
+
```bash
50
+
cd~/webroot
51
+
git clone https://github.com/getgrav/grav.git
52
52
```
53
53
54
54
2. Install the **plugin** and **theme dependencies** by using the [Grav CLI application](https://learn.getgrav.org/advanced/grav-cli)`bin/grav`:
55
-
```
56
-
$ cd ~/webroot/grav
57
-
$ bin/grav install
55
+
```bash
56
+
cd~/webroot/grav
57
+
bin/grav install
58
58
```
59
59
60
60
Check out the [install procedures](https://learn.getgrav.org/basics/installation) for more information.
@@ -63,28 +63,28 @@ Check out the [install procedures](https://learn.getgrav.org/basics/installation
63
63
64
64
You can download [plugins](https://getgrav.org/downloads/plugins) or [themes](https://getgrav.org/downloads/themes) manually from the appropriate tab on the [Downloads page on https://getgrav.org](https://getgrav.org/downloads), but the preferred solution is to use the [Grav Package Manager](https://learn.getgrav.org/advanced/grav-gpm) or `GPM`:
65
65
66
-
```
67
-
$ bin/gpm index
66
+
```bash
67
+
bin/gpm index
68
68
```
69
69
70
70
This will display all the available plugins and then you can install one or more with:
71
71
72
-
```
73
-
$ bin/gpm install <plugin/theme>
72
+
```bash
73
+
bin/gpm install <plugin/theme>
74
74
```
75
75
76
76
# Updating
77
77
78
78
To update Grav you should use the [Grav Package Manager](https://learn.getgrav.org/advanced/grav-gpm) or `GPM`:
0 commit comments