Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 工具安装-install.md #105

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```
```
Loading