diff --git a/README.md b/README.md index 7879e21..eddb4b2 100644 --- a/README.md +++ b/README.md @@ -14,24 +14,28 @@ 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/v0.1.1/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 ``` +### Manual installation + 1. Clone or extract kctl-env to a directory (e.g., `~/.kctl-env`). 2. Add the `bin/` directory to your `PATH`: