Skip to content

Commit

Permalink
Update 工具安装-install.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hailaz authored Dec 3, 2024
1 parent b054e35 commit 7575b09
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/docs/开发工具/工具安装-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ go env GOARCH

### 通过 `go install` 安装

#### 最新版本
```bash
go install github.com/gogf/gf/cmd/gf/v2@latest # 最新版本
go install github.com/gogf/gf/cmd/gf/[email protected] # 指定版本(版本需要 >= v2.5.5)
go install github.com/gogf/gf/cmd/gf/v2@latest
```

#### 指定版本(版本需要 >= v2.5.5)
```bash
go install github.com/gogf/gf/cmd/gf/[email protected]
```

### 其它版本下载
Expand Down Expand Up @@ -77,4 +82,4 @@ I found some installable paths for you(from $PATH):
4 | true | false | /Users/john/.ft
please choose one installation destination [default 0]:
gf binary is successfully installed to: /usr/local/bin
```
```

0 comments on commit 7575b09

Please sign in to comment.