Skip to content

Commit 7aee0d7

Browse files
committed
docs: add GOPATH/bin PATH hint for go install
1 parent 97aade1 commit 7aee0d7

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ irm https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.p
2424
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
2525
```
2626

27+
> Make sure `$(go env GOPATH)/bin` is in your `PATH`. If `flashduty` is not found after install, run:
28+
> ```bash
29+
> export PATH="$(go env GOPATH)/bin:$PATH"
30+
> ```
31+
2732
### Manual Download
2833
2934
Download the latest release for your platform from [GitHub Releases](https://github.com/flashcatcloud/flashduty-cli/releases).

README_zh.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ irm https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.p
2424
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
2525
```
2626

27+
> 确保 `$(go env GOPATH)/bin` 在您的 `PATH` 中。如果安装后找不到 `flashduty`,请运行:
28+
> ```bash
29+
> export PATH="$(go env GOPATH)/bin:$PATH"
30+
> ```
31+
2732
### 手动下载
2833
2934
从 [GitHub Releases](https://github.com/flashcatcloud/flashduty-cli/releases) 下载适合您平台的最新版本。

0 commit comments

Comments
 (0)