|
This is unreleased documentation for Admission Controller 1.30-next. |
Installing kwctl
kwctl is the command-line interface (CLI) tool for SUSE Security Admission Controller. 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 kwctlVerify installation:
kwctl --version -
Zypper (openSUSE)
zypper install kwctl -
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
kwctlfor Linux:curl -LO https://github.com/kubewarden/kwctl/releases/latest/download/kwctl-linux-x86_64.zipFor 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
.zipfile:unzip kwctl-linux-x86_64.zipThis extracts the following files:
-
kwctl-linux-x86_64: Thekwctlbinary -
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
kwctland make executable. -
Verify the installation:
kwctl --version
-
Install for macOS.
-
Using Homebrew
-
Install
kwctl:brew install kwctlVerify installation:
kwctl --version
-
-
Manual installation
-
Download the latest release of
kwctlfor 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
.zipfile:unzip kwctl-darwin-x86_64.zipThis extracts the following files:
-
kwctl-darwin-x86_64: Thekwctlbinary -
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
kwctland make executable. -
Verify the installation:
kwctl --version
-
Install for Windows
-
Download
kwctl:-
Open your browser and go to the Admission Controller releases page.
-
Download the
kwctl-windows-x86_64.zipfile.
-
-
Extract the files from the downloaded zip file. It will contain:
-
kwctl-windows-x86_64.exe: thekwctlbinary. -
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.exetokwctl.exefor easier use. -
Move the binary to a location covered by your
PATHenvironment variable. -
Verify the installation. Open a new command prompt or PowerShell window and check the
kwctlinstallation:kwctl --version