Installing kwctl
kwctl
is the command-line interface (CLI) tool for Kubewarden. Below are installation instructions for some operating systems.
-
Linux
-
macOS
-
Windows
Install for Linux
-
Homebrew
If you use the Homebrew package manager on Linux, then:
brew install kwctl
Verify installation:
kwctl --version
-
AUR
If you’re using Arch Linux, or an Arch-based distribution, you can install kwctl from the AUR.
-
Using an AUR helper (yay):
yay -S kwctl
-
Using makepkg:
# Clone the AUR package git clone https://aur.archlinux.org/kwctl.git cd kwctl # Build and install the package makepkg -si
-
Verify the installation:
kwctl --version
-
-
Manual installation
-
Download the latest release of
kwctl
for Linux:curl -LO https://github.com/kubewarden/kwctl/releases/latest/download/kwctl-linux-x86_64.zip
For ARM64 systems (e.g., Raspberry Pi), use:
curl -LO https://github.com/kubewarden/kwctl/releases/latest/download/kwctl-linux-aarch64.zip
-
Extract the files from the downloaded
.zip
file:unzip kwctl-linux-x86_64.zip
This extracts the following files:
-
kwctl-linux-x86_64
: Thekwctl
binary -
kwctl-linux-x86_64.sig
: A signature file for verifying the binary -
kwctl-linux-x86_64.pem
: A certificate file for verifying the signature
-
-
Move the binary to a directory in your PATH, rename to
kwctl
and make executable. -
Verify the installation:
kwctl --version
-
Install for macOS.
-
Using Homebrew
-
Install
kwctl
:brew install kwctl
Verify installation:
kwctl --version
-
-
Manual installation
-
Download the latest release of
kwctl
for macOS:-
For Apple Silicon (ARM64) systems, use:
curl -LO https://github.com/kubewarden/kwctl/releases/latest/download/kwctl-darwin-aarch64.zip
-
For Intel (x86_64) systems, use:
curl -LO https://github.com/kubewarden/kwctl/releases/latest/download/kwctl-darwin-x86_64.zip
-
Extract the files from the downloaded
.zip
file:unzip kwctl-darwin-x86_64.zip
This extracts the following files:
-
kwctl-darwin-x86_64
: Thekwctl
binary -
kwctl-darwin-x86_64.sig
: A signature file for verifying the binary -
kwctl-darwin-x86_64.pem
: A certificate file for verifying the signature
-
-
-
Move the binary to a directory in your PATH, rename to
kwctl
and make executable. -
Verify the installation:
kwctl --version
-
Install for Windows
-
Download
kwctl
:-
Open your browser and go to the Kubewarden releases page.
-
Download the
kwctl-windows-x86_64.zip
file.
-
-
Extract the files from the downloaded zip file. It will contain:
-
kwctl-windows-x86_64.exe
: thekwctl
binary. -
kwctl-windows-x86_64.sig
: a signature file for verifying the binary. -
kwctl-windows-x86_64.pem
: a certificate file for verifying the signature.
-
-
Rename the binary file from
kwctl-windows-x86_64.exe
tokwctl.exe
for easier use. -
Move the binary to a location covered by your
PATH
environment variable. -
Verify the installation. Open a new command prompt or PowerShell window and check the
kwctl
installation:kwctl --version