From ba2117d211610754e2b80c15f6ebaa7234c68477 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 11:39:32 +0000 Subject: [PATCH 1/3] Initial plan From cfeed24179599bd3bcef97c0678d9d6d9c4dc2c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 11:41:36 +0000 Subject: [PATCH 2/3] docs: make pinned version install the recommended default for security Co-authored-by: senet <4061835+senet@users.noreply.github.com> --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7879e21..7992248 100644 --- a/README.md +++ b/README.md @@ -14,22 +14,24 @@ Pure Bash, zero-deps kubectl version manager with fast shims and tfenv-style UX. ### Quick install (recommended) -Install into `~/.kctl-env`: +Pin a specific version for security and reproducibility: ```sh -curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/main/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/main/install.sh | bash -s -- v0.1.1 ``` -If you’re testing from a feature branch, replace `main` in the URL and pass the branch name as the ref: +### Development/unstable install + +Install the latest development version from `main` (not recommended for production): ```sh -curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/feat/easy-install/install.sh | bash -s -- feat/easy-install +curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/main/install.sh | bash ``` -Pin a specific version (recommended for reproducibility): +For testing from a feature branch, replace `main` in the URL and pass the branch name as the ref: ```sh -curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/main/install.sh | bash -s -- v0.1.1 +curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/feat/easy-install/install.sh | bash -s -- feat/easy-install ``` 1. Clone or extract kctl-env to a directory (e.g., `~/.kctl-env`). From 7439b6a885e569f5ff16847a446eaf5b40a61cbb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 11:42:47 +0000 Subject: [PATCH 3/3] docs: pin install script to same tag and add manual install header Co-authored-by: senet <4061835+senet@users.noreply.github.com> --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7992248..eddb4b2 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Pure Bash, zero-deps kubectl version manager with fast shims and tfenv-style UX. Pin a specific version for security and reproducibility: ```sh -curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/main/install.sh | bash -s -- v0.1.1 +curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/v0.1.1/install.sh | bash -s -- v0.1.1 ``` ### Development/unstable install @@ -34,6 +34,8 @@ For testing from a feature branch, replace `main` in the URL and pass the branch curl -fsSL https://raw.githubusercontent.com/senet/kctl-env/feat/easy-install/install.sh | bash -s -- feat/easy-install ``` +### Manual installation + 1. Clone or extract kctl-env to a directory (e.g., `~/.kctl-env`). 2. Add the `bin/` directory to your `PATH`: