Introduction

💡 kusionup is a version management tool for kusion. It is heavily inspired by goup.
📜️ Language
English | 简体中文
✨ Functional Overview
- support one-click installation
kusionup through Homebrew, go install, etc.
kusionup switches to selected kusion version.
kusionup default switches to selected kusion version.
kusionup init initialize the kusionup environment file.
kusionup install downloads specified version of kusion to $HOME/.kusionup/$SPECIFY_VERSION/ and symlinks it to $HOME/.kusionup/current.
kusionup uninstall uninstalls the specified kusion version.
kusionup reinstall reinstalls the specified kusion version.
kusionup ls-ver lists all available kusion versions from all Release Source.
kusionup show shows the activated kusion version located at $HOME/.kusionup/current.
kusionup version shows the current kusionup version.
🛠️ Installation
To get the binary just download the latest release for your OS/Arch from the release page and put the binary somewhere convenient.
Homebrew
The KusionStack/tap has macOS and GNU/Linux pre-built binaries available:
brew install KusionStack/tap/kusionup
Build from Source
Starting with Go 1.17, you can install kusionup from source using go install:
go install github.com/KusionStack/kusionup/cmd@latest
Docker
Docker users can use the following commands to pull the latest image of the kusionup:
docker pull kusionstack/kusionup:latest
⚡ Usage
$ kusionup install
Downloaded 0.0% ( 2426 / 139988826 bytes) ...
Downloaded 11.4% ( 16003466 / 139988826 bytes) ...
Downloaded 21.0% ( 29433014 / 139988826 bytes) ...
Downloaded 32.2% ( 45077686 / 139988826 bytes) ...
Downloaded 41.9% ( 58642898 / 139988826 bytes) ...
Downloaded 51.2% ( 71647010 / 139988826 bytes) ...
Downloaded 61.6% ( 86258486 / 139988826 bytes) ...
Downloaded 71.2% ( 99667706 / 139988826 bytes) ...
Downloaded 81.5% (114078806 / 139988826 bytes) ...
Downloaded 91.5% (128134166 / 139988826 bytes) ...
Downloaded 100.0% (139988826 / 139988826 bytes)
INFO[0053] Unpacking ~/.kusionup/kusion-open@latest/kusion-darwin.tgz ...
INFO[0059] Success: latest downloaded in ~/.kusionup/kusion-open@latest
INFO[0059] Default Kusion is set to 'open@latest'
$ kusionup show
| VERSION | ACTIVE |
|---------------|--------|
| latest | * |
$ kusion version
For details, please refer to the documentation
🙏 Thanks
- goup - Elegant Go installer