Note: We do not recommend this method if you want to get auto-updating from package managers or have more platforms supported.
curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash
To install a previous version, you can specify it in the command line.
curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash -s -- -v v2.3.6
You must have PowerShell v5.0 or higher:
iwr -useb https://raw.githubusercontent.com/kubescape/kubescape/master/install.ps1 | iex
If you get an error, you may need to change the execution policy:
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
Note: openSUSE community-supported.
sudo zypper refresh
sudo zypper install kubescape
yay -S kubescape
If you would like to save some time and do not want to compile, install kubescape-bin
instead:
Note: kubescape-bin is AUR community-supported.
yay -S kubescape-bin
sudo add-apt-repository ppa:kubescape/kubescape
sudo apt update
sudo apt install kubescape
Please follow the guidelines here.
Note: The kubescape delivered by official Homebrew comes with git disabled.
brew install kubescape
If you want to have the git enabled one, you can install via the homebrew-tap:
brew tap kubescape/tap
brew install kubescape-cli
Note: Chocolatey community-supported.
choco install kubescape
Note: Scoop community-supported.
scoop install kubescape
kubectl krew update
kubectl krew install kubescape
kubectl kubescape
Note: This method is community-supported. If you are having trouble, please reach out to NixOS support.
You can use nix
on Linux or macOS.
Try it out in an ephemeral shell: nix-shell -p kubescape
.
NixOS:
# your other config ...
environment.systemPackages = with pkgs; [
# your other packages ...
kubescape
];
home-manager:
# your other config ...
home.packages = with pkgs; [
# your other packages ...
kubescape
];
Or, to your profile (not preferred): nix-env --install -A nixpkgs.kubescape
.