Docs: Installation: Community CLI

Instructions vary by operating system and package manager:

If you’re upgrading from a previous Skeema CLI release, the steps are exactly the same as for fresh installation, unless otherwise noted below.

macOS - Homebrew

Homebrew is supported for modern Apple Silicon (ARM) Macs, as well as older Intel-based systems. It will automatically select the correct build for your CPU architecture.

To install using our official Homebrew tap:

brew install skeema/tap/skeema

Note that Homebrew uses a different command to upgrade an existing installation:

brew upgrade skeema/tap/skeema

Skeema is also available as a Homebrew Core formula, which is maintained by the Homebrew community:

brew install skeema

macOS - no package manager

This example places skeema in /usr/local/bin, but you may use a different path if desired.

For modern Apple Silicon Macs:

curl -LO https://github.com/skeema/skeema/releases/download/v1.12.0/skeema_1.12.0_mac_arm64.tar.gz
tar -xzvf skeema_1.12.0_mac_arm64.tar.gz skeema
mv skeema /usr/local/bin/

For older Intel-based Macs:

curl -LO https://github.com/skeema/skeema/releases/download/v1.12.0/skeema_1.12.0_mac_amd64.tar.gz
tar -xzvf skeema_1.12.0_mac_amd64.tar.gz skeema
mv skeema /usr/local/bin/

Skeema Community Edition binaries are not code-signed. We recommend using curl to avoid issues with MacOS Gatekeeper quarantine. If you wish to download Skeema using a web browser instead, an additional step is needed for the Community Edition of Skeema:

xattr -d com.apple.quarantine /usr/local/bin/skeema

If your company security policies strictly require code-signed binaries, the Premium Edition CLI Mac builds are fully code-signed and notarized.

macOS - compile from source

Requires Golang v1.21+. If you haven’t set $GOBIN or $GOPATH, this will default to installing to $HOME/go/bin.

go install github.com/skeema/skeema@v1.12.0

Linux - DEB

This method can be used on Debian, Ubuntu, and related distributions. The example below is for Intel/AMD systems; for an ARM architecture, replace “amd64” with “arm64” in both lines.

Note that apt requires the ./ prefix on the deb filename to enable installing from a local file.

curl -LO https://github.com/skeema/skeema/releases/latest/download/skeema_amd64.deb
sudo apt install ./skeema_amd64.deb

Prefer to use a single apt-get command instead? All premium CLI subscriptions include access to our secure package management repo.

Linux - RPM

This method can be used on RHEL, CentOS, Fedora, Amazon Linux, SUSE, Mandriva, Oracle Linux, etc. The example below is for Intel/AMD systems; for an ARM architecture, replace “amd64” with “arm64” in both lines.

curl -LO https://github.com/skeema/skeema/releases/latest/download/skeema_amd64.rpm
sudo rpm -Uvh skeema_amd64.rpm

Prefer to use a single yum, dnf, or zypper command instead? All premium CLI subscriptions include access to our secure package management repo.

Linux - APK

This method can be used on Alpine Linux, including use-cases in Alpine-based Docker containers or Dockerfiles. This assumes you already have curl (e.g. apk add curl). The example below is for Intel/AMD systems; for an ARM architecture, replace “amd64” with “arm64” in both lines.

curl -LO https://github.com/skeema/skeema/releases/latest/download/skeema_amd64.apk
apk add --allow-untrusted skeema_amd64.apk

Prefer to use a one-liner apk command instead? All premium CLI subscriptions include access to our secure package management repo.

Linux - no package manager

The example below is for Skeema v1.12.0 on Intel/AMD systems. To use another Skeema version or architecture, plug in a different URL from the releases page.

This example places skeema in /usr/local/bin, but you may use a different path if desired.

curl -LO https://github.com/skeema/skeema/releases/download/v1.12.0/skeema_1.12.0_linux_amd64.tar.gz
tar -xzvf skeema_1.12.0_linux_amd64.tar.gz skeema
sudo mv skeema /usr/local/bin/

Linux - compile from source

Requires Golang v1.21+. If you haven’t set $GOBIN or $GOPATH, this will default to installing to $HOME/go/bin.

go install github.com/skeema/skeema@v1.12.0

Windows

A native Windows build is not available for the Community edition of the Skeema CLI. However, the Linux build functions properly under WSL.

The Premium edition of the Skeema CLI includes a native Windows 10 port, which is code-signed.