Installation
Homebrewβ
First installation:
brew tap cwc/cwc https://gitlab.cwcloud.tech/oss/cwc/homebrew-cwc.git
brew trust --formula cwc/cwc/cwc
brew install cwc
Upgrade:
brew update
brew upgrade cwc
Curlβ
Linuxβ
Linux x86 (64 bit)β
version="1.19.13"
curl -L "https://gitlab.cwcloud.tech/oss/cwcloud/cwc/-/releases/v${version}/downloads/cwcloud/cwc_${version}_linux_amd64.tar.gz" -o "cwc_cli.tar.gz"
mkdir cwc_cli && tar -xf cwc_cli.tar.gz -C cwc_cli
sudo ./cwc_cli/install.sh
Beware of checking if the version is available in the releases because we only keep the 5 last builds.
Linux arm (64 bit)β
version="1.19.13"
curl -L "https://gitlab.cwcloud.tech/oss/cwcloud/cwc/-/releases/v${version}/downloads/cwcloud/cwc_${version}_linux_arm64.tar.gz" -o "cwc_cli.tar.gz"
mkdir cwc_cli && tar -xf cwc_cli.tar.gz -C cwc_cli
sudo ./cwc_cli/install.sh
Beware of checking if the version is available in the releases because we only keep the 5 last builds.
MacOSβ
MacOS x86/arm (64 bit)β
version="1.19.13"
curl -L "https://gitlab.cwcloud.tech/oss/cwcloud/cwc/-/releases/v${version}/downloads/cwcloud/cwc_${version}_darwin_all.tar.gz" -o "cwc_cli.tar.gz"
mkdir cwc_cli && tar -xf cwc_cli.tar.gz -C cwc_cli
sudo ./cwc_cli/install.sh
Beware of checking if the version is available in the releases because we only keep the 5 last builds.
Windowsβ
Direct downloadβ
You can directly download from here. Choose the right architecture (amd64 or arm64), download, unzip and you'll find an exe file there.
Windows x86 (64 bit) with Powershellβ
$version = "1.19.13"
$user = "YOUR_USER"
cd "C:\Users\${user}"
Invoke-WebRequest -Uri "https://gitlab.cwcloud.tech/oss/cwcloud/cwc/-/releases/v${version}/downloads/cwcloud/cwc_${version}_windows_amd64.zip" -OutFile "cwc_cli.zip"
Expand-Archive -Path "cwc_cli.zip" -DestinationPath "cwc_cli" -Force
.\cwc.exe
Beware of checking if the version is available in the releases because we only keep the 5 last builds.
Windows arm (64 bit) with Powershellβ
$version = "1.19.13"
$user = "YOUR_USER"
cd "C:\Users\${user}"
Invoke-WebRequest -Uri "https://gitlab.cwcloud.tech/oss/cwcloud/cwc/-/releases/v${version}/downloads/cwcloud/cwc_${version}_windows_arm64.zip" -OutFile "cwc_cli.zip"
Expand-Archive -Path "cwc_cli.zip" -DestinationPath "cwc_cli" -Force
.\cwc.exe