3.0 KiB
Installation
Manually
Note
: We do not recommend this method if you want to get auto-updating from package managers or have more platforms supported.
X86_64 or ARM64 (M1/M2) Linux / macOS
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
X86_64 Windows
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
openSUSE
Note
: openSUSE community-supported.
sudo zypper refresh
sudo zypper install kubescape
Arch
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
Ubuntu
sudo add-apt-repository ppa:kubescape/kubescape
sudo apt update
sudo apt install kubescape
Other Debian-based or RPM-based Linux Distros
Please follow the guidelines here.
Homebrew
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
Chocolatey
Note
: Chocolatey community-supported.
choco install kubescape
Scoop
Note
: Scoop community-supported.
scoop install kubescape
Krew
kubectl krew update
kubectl krew install kubescape
kubectl kubescape
Snap
NixOS or with nix
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.