Skip to content

yuya-takeyama/kcenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kcenv

kubectl version manager.

Most of the codes are taken from below tools:

Installation

  1. Check out kcenv into any path (here is ${HOME}/.kcenv)
$ git clone https://github.com/yuya-takeyama/kcenv.git ~/.kcenv
  1. Add ~/.kcenv/bin to your $PATH any way you like
$ echo 'export PATH="$HOME/.kcenv/bin:$PATH"' >> ~/.bash_profile

Usage

Usage: kcenv <command> [<args>]

Some useful kcenv commands are:
   local       Set or show the local application-specific kubectl version
   global      Set or show the global kubectl version
   install     Install the specified version of kubectl
   uninstall   Uninstall the specified version of kubectl
   version     Show the current kubectl version and its origin
   versions    List all kubectl versions available to kcenv

See `kcenv help <command>' for information on a specific command.
For full documentation, see: https://github.com/yuya-takeyama/kcenv#readme

License

  • kcenv
    • The MIT License
  • rbenv
    • The MIT License
  • tfenv
    • The MIT License