Skip to content

Commit 22c44f2

Browse files
committed
Added installation instructions without npm.
1 parent 72562d1 commit 22c44f2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,25 @@ Looking good!
3434
```sh
3535
$ npm install -g gg
3636
```
37+
38+
If that doesn't work, try running it as root. `$ sudo npm install -g gg`
39+
3740
You can also get up and running without npm, but it is not recommended to do so.
3841

42+
```sh
43+
# Clone the repository.
44+
$ git clone https://github.com/qw3rtman/gg.git
45+
46+
# Switch into the repository's directory.
47+
$ cd gg
48+
49+
# Install!
50+
$ npm install -g
51+
52+
# Install as root, if the above command does not work.
53+
$ sudo npm install -g
54+
```
55+
3956
`gg` relies on Node.js and `git`.
4057

4158
## Usage

0 commit comments

Comments
 (0)