Install Kusion
You can install the latest Kusion CLI on MacOS, Linux and Windows.
MacOs/Linux
For the MacOs and Linux, Homebrew and sh script are supported. Choose the one you prefer from the methods below.
- Homebrew
- curl | sh
The recommended method for installing on MacOS and Linux is to use the brew package manager.
Install Kusion
# tap formula repository Kusionstack/tap
brew tap KusionStack/tap
# install Kusion
brew install KusionStack/tap/kusion
Update Kusion
# update formulae from remote
brew update
# update Kusion
brew upgrade KusionStack/tap/kusion
Uninstall Kusion
# uninstall Kusion
brew uninstall KusionStack/tap/kusion
Install Kusion
# install Kusion, default latest version
curl https://www.kusionstack.io/scripts/install.sh | sh
Install the Specified Version of Kusion
You can also install the specified version of Kusion by appointing the version as shell script parameter, where the version is the available tag trimming prefix "v", such as 0.11.0, 0.10.0, etc. In general, you don't need to specify Kusion version, just use the command above to install the latest version.
# install Kusion of specified version 0.11.0
curl https://www.kusionstack.io/scripts/install.sh | sh -s 0.11.0
Uninstall Kusion
# uninstall Kusion
curl https://www.kusionstack.io/scripts/uninstall.sh | sh
Windows
For the Windows, Scoop and Powershell script are supported. Choose the one you prefer from the methods below.
- Scoop
- Powershell
The recommended method for installing on Windows is to use the scoop package manager.
Install Kusion
# add scoop bucket KusionStack
scoop bucket add KusionStack https://github.com/KusionStack/scoop-bucket.git
# install kusion
scoop install KusionStack/kusion
Update Kusion
# update manifest from remote
scoop update
# update Kusion
scoop install KusionStack/kusion
Uninstall Kusion
# uninstall Kusion
brew uninstall KusionStack/kusion
Install Kusion
# install Kusion, default latest version
powershell -Command "iwr -useb https://www.kusionstack.io/scripts/install.ps1 | iex"
Install the Specified Version of Kusion
You can also install the specified version of Kusion by appointing the version as shell script parameter, where the version is the available tag trimming prefix "v", such as 0.11.0, etc. In general, you don't need to specify Kusion version, just use the command above to install the latest version.
# install Kusion of specified version 0.10.0
powershell {"& { $(irm https://www.kusionstack.io/scripts/install.ps1) } -Version 0.11.0" | iex}
Uninstall Kusion
# uninstall Kusion
powershell -Command "iwr -useb https://www.kusionstack.io/scripts/uninstall.ps1 | iex"