The recommended way to install Keboola CLI is with one of the package managers listed below. This allows you to easily upgrade to a new version.
Alternatively, you can:
Changelog can be found at github.com/keboola/keboola-as-code/releases.
Installation on macOS is managed by Homebrew. If you don’t have Homebrew available on your system, install it before continuing.
Install:
brew tap keboola/keboola-cli
brew install keboola-cli
kbc --version
Upgrade:
brew upgrade keboola-cli
Install:
sudo wget -P /etc/apt/trusted.gpg.d https://cli-dist.keboola.com/deb/keboola.gpg
echo "deb https://cli-dist.keboola.com/deb /" | sudo tee /etc/apt/sources.list.d/keboola.list
sudo apt-get update
sudo apt-get install keboola-cli
kbc --version
Upgrade:
sudo apt-get update
sudo apt-get install keboola-cli
Install:
sudo rpm --import https://cli-dist.keboola.com/rpm/keboola.gpg
echo "[keboola]
name=keboola
baseurl=https://cli-dist.keboola.com/rpm
enabled=1
gpgcheck=1
gpgkey=https://cli-dist.keboola.com/rpm/keboola.gpg
" | sudo tee /etc/yum.repos.d/keboola.repo
sudo dnf install keboola-cli
kbc --version
Upgrade:
sudo dnf update keboola-cli
Install:
echo "https://cli-dist.keboola.com/apk" | sudo tee -a /etc/apk/repositories
sudo wget -P /etc/apk/keys/ https://cli-dist.keboola.com/apk/keboola.rsa.pub
sudo apk update
sudo apk add keboola-cli
kbc --version
Upgrade:
apk update
apk add --upgrade keboola-cli
If you don’t have App Installer available on your system, either install it from the Microsoft Store or download directly before continuing.
Install:
winget install Keboola.KeboolaCLI
kbc --version
Upgrade:
winget upgrade Keboola.KeboolaCLI
If you don’t have Chocolatey available on your system, install it before continuing.
Install:
choco install keboola-cli
kbc --version
Upgrade:
choco upgrade keboola-cli
If you don’t have Scoop available on your system, install it before continuing.
Install:
scoop bucket add keboola https://github.com/keboola/scoop-keboola-cli.git
scoop install keboola/keboola-cli
kbc --version
Upgrade:
scoop update keboola/keboola-cli
Use a msi installer or a precompiled binary.
git clone https://github.com/keboola/keboola-as-code
cd keboola-as-code
go build -o target/kbc ./cmd/kbc/main.go
On Windows:
go build -o target/kbc.exe ./cmd/kbc/main.go
target/kbc
or target/kbc.exe
.