From 4c5ca48182395496c8807799542503e3255912f6 Mon Sep 17 00:00:00 2001 From: Ky-Anh Huynh Date: Mon, 6 Jan 2025 19:15:21 +0100 Subject: [PATCH 1/2] README: use go install instead of go get --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 851a293..6a3d192 100644 --- a/README.md +++ b/README.md @@ -99,10 +99,12 @@ Starting from v1.1.1, you can download binary files generated automatically by Github-Action (via goreleaser tool). You find the files from the release listing page: https://github.com/icy/gk8s/releases -To install on your laptop by local compiling process, please try the popular way +To install on your laptop by local compiling process, please try the popular way. +In the following example, you may want to replace `@latest` with any version +found from release page (https://github.com/icy/gk8s/releases). ``` -$ go get -u github.com/icy/gk8s +$ go install github.com/icy/gk8s@latest $ export PATH=$PATH:"$(go env GOPATH)/bin" ``` From e46299e83561a3209aab1f7cfba2d0bd75d829ad Mon Sep 17 00:00:00 2001 From: Ky-Anh Huynh Date: Mon, 6 Jan 2025 19:16:40 +0100 Subject: [PATCH 2/2] README: use go install instead of go get --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a3d192..3565532 100644 --- a/README.md +++ b/README.md @@ -99,9 +99,10 @@ Starting from v1.1.1, you can download binary files generated automatically by Github-Action (via goreleaser tool). You find the files from the release listing page: https://github.com/icy/gk8s/releases -To install on your laptop by local compiling process, please try the popular way. -In the following example, you may want to replace `@latest` with any version -found from release page (https://github.com/icy/gk8s/releases). +To install `gk8s` on your laptop by local compiling process, please try `go get` +or `go install`. In the following example, you may want to replace +`@latest` with any version found from the release page +(https://github.com/icy/gk8s/releases). ``` $ go install github.com/icy/gk8s@latest