Installation
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:
- Download precompiled binaries from cli-dist.keboola.com.
- Or build binary from source code.
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-clibrew install keboola-clikbc --versionUpgrade:
brew upgrade keboola-cliDebian / Ubuntu
Section titled “Debian / Ubuntu”Install:
sudo wget -P /etc/apt/trusted.gpg.d https://cli-dist.keboola.com/deb/keboola.gpgecho "deb https://cli-dist.keboola.com/deb /" | sudo tee /etc/apt/sources.list.d/keboola.listsudo apt-get updatesudo apt-get install keboola-clikbc --versionUpgrade:
sudo apt-get updatesudo apt-get install keboola-cliFedora
Section titled “Fedora”Install:
sudo rpm --import https://cli-dist.keboola.com/rpm/keboola.gpgecho "[keboola]name=keboolabaseurl=https://cli-dist.keboola.com/rpmenabled=1gpgcheck=1gpgkey=https://cli-dist.keboola.com/rpm/keboola.gpg" | sudo tee /etc/yum.repos.d/keboola.reposudo dnf install keboola-clikbc --versionUpgrade:
sudo dnf update keboola-cliAlpine
Section titled “Alpine”Install:
echo "https://cli-dist.keboola.com/apk" | sudo tee -a /etc/apk/repositoriessudo wget -P /etc/apk/keys/ https://cli-dist.keboola.com/apk/keboola.rsa.pubsudo apk updatesudo apk add keboola-clikbc --versionUpgrade:
apk updateapk add --upgrade keboola-cliWindows
Section titled “Windows”WinGet
Section titled “WinGet”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.KeboolaCLIkbc --versionUpgrade:
winget upgrade Keboola.KeboolaCLIChocolatey
Section titled “Chocolatey”If you don’t have Chocolatey available on your system, install it before continuing.
Install:
choco install keboola-clikbc --versionUpgrade:
choco upgrade keboola-cliIf 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.gitscoop install keboola/keboola-clikbc --versionUpgrade:
scoop update keboola/keboola-cliDownload
Section titled “Download”Use a msi installer or a precompiled binary.
Build From Source
Section titled “Build From Source”- Install the Go environment (if you haven’t done so already).
- Clone the source from GitHub:
git clone https://github.com/keboola/keboola-as-codecd keboola-as-code- Run the build:
On Linux or macOS:
go build -o target/kbc ./cmd/kbc/main.goOn Windows:
go build -o target/kbc.exe ./cmd/kbc/main.go- Binary is located in
target/kbcortarget/kbc.exe.