Confluentinc Cli Save

CLI for Confluent Cloud and Confluent Platform

Project README

Confluent CLI

Release Build Status

The Confluent CLI lets you manage your Confluent Cloud and Confluent Platform deployments, right from the terminal.

Documentation

The Confluent CLI Overview shows how to get started with the Confluent CLI.

The Confluent CLI Command Reference contains information on command arguments and flags, and is programmatically generated from this repository.

Contributing

All contributions are appreciated, no matter how small! When opening a PR, please make sure to follow our contribution guide.

Installation

The Confluent CLI is available to install for macOS, Linux, and Windows.

Homebrew

Install the latest version of confluent to /usr/local/bin:

brew install confluentinc/tap/cli

APT (Ubuntu and Debian)

Install the latest version of confluent to /usr/bin (requires glibc 2.17 or above for amd64 and glibc 2.27 or above for arm64):

wget -qO - https://packages.confluent.io/confluent-cli/deb/archive.key | sudo apt-key add -
sudo apt install software-properties-common
sudo add-apt-repository "deb https://packages.confluent.io/confluent-cli/deb stable main"
sudo apt update && sudo apt install confluent-cli

YUM (RHEL and CentOS)

Install the latest version of confluent to /usr/bin (requires glibc 2.17 or above for amd64 and glibc 2.27 or above for arm64):

sudo rpm --import https://packages.confluent.io/confluent-cli/rpm/archive.key
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://packages.confluent.io/confluent-cli/rpm/confluent-cli.repo
sudo yum clean all && sudo yum install confluent-cli

Windows

  1. Download the latest Windows ZIP file from https://github.com/confluentinc/cli/releases/latest
  2. Unzip confluent_X.X.X_windows_amd64.zip
  3. Run confluent.exe

Docker

Pull the latest version:

docker pull confluentinc/confluent-cli:latest

Pull confluent v3.6.0:

docker pull confluentinc/confluent-cli:3.6.0

Building from Source

make build
dist/confluent_$(go env GOOS)_$(go env GOARCH)/confluent -h

Cross Compile for Other Platforms

From darwin/amd64 or darwin/arm64, you can build the CLI for any other supported platform.

To build for darwin/amd64 from darwin/arm64, run the following:

GOARCH=amd64 make build

To build for darwin/arm64 from darwin/amd64, run the following:

GOARCH=arm64 make build

To build for linux/amd64 (glibc or musl), run the following:

brew install FiloSottile/musl-cross/musl-cross
GOOS=linux GOARCH=amd64 make cross-build

To build for linux/arm64 (glibc or musl), run the following:

brew install FiloSottile/musl-cross/musl-cross
GOOS=linux GOARCH=arm64 make cross-build

To build for windows/amd64, run the following:

brew install mingw-w64
GOOS=windows GOARCH=amd64 make cross-build
Open Source Agenda is not affiliated with "Confluentinc Cli" Project. README Source: confluentinc/cli

Open Source Agenda Badge

Open Source Agenda Rating