Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 2 KB

README.md

File metadata and controls

71 lines (46 loc) · 2 KB

K - Kubectl Version Manager

English | 简体中文

Overview

K is used to manage kubectl version, if you need to control k8s across large versions(v1.18 and v1.23), then this is the right tool for you.

Getting Started

manual

go install github.com/zaunist/k@latest

auto

curl -sSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/zaunist/k/main/install.sh | bash

Usage

K is used to manage kubectl version.

Usage:
  k [command]

Available Commands:
  clean       Remove files from the package download directory
  help        Help about any command
  install     Download and install a version
  ls          List installed versions
  uninstall   Uninstall a version of kubectl
  use         Switch to specified version
  version     Print the current version

Flags:
  -h, --help   help for k

Use "k [command] --help" for more information about a command.

example

k install v1.23.0  // install v1.23.0 version

k use v1.22.0 //  switch kubectl version to v1.22.0

k ls // list all installed version on your system

Reference

The project is inspired by g - Golang version manager

License

WTFPL license