Skip to content

Commit 36bdb33

Browse files
committed
update readme
1 parent 03c9ead commit 36bdb33

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,27 @@
1818

1919
You can download the pre-built binary from the [releases](https://github.com/sxwebdev/gcx/releases) page or build it from source:
2020

21+
### Install from source
22+
2123
```bash
22-
# Install from source
2324
go install github.com/sxwebdev/gcx@latest
25+
```
26+
27+
### Install via script
2428

25-
# Or build from source
29+
```bash
30+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/sxwebdev/gcx/refs/heads/master/scripts/install.sh)"
31+
```
32+
33+
### Build from source
34+
35+
```bash
2636
git clone https://github.com/sxwebdev/gcx.git
2737
cd gcx
2838
make build
29-
30-
# Or install via script
31-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/sxwebdev/gcx/refs/heads/master/scripts/install.sh)"
3239
```
3340

34-
Alternatively, you can use the Docker image available on Docker Hub:
41+
### Use Docker Hub
3542

3643
```bash
3744
docker pull sxwebdev/gcx:latest

0 commit comments

Comments
 (0)