Skip to main content

Install vcluster CLI

About This Guide

Goal: Install vcluster CLI, deploy virtual clusters and learn how they work
Estimated time: 10 minutes

  • kubectl (check via kubectl version)
  • helm v3 (check with helm version)
  • a working kube-context with access to a Kubernetes cluster (check with kubectl get namespaces)

Download vcluster CLI#

Use one of the following commands to download the vcluster CLI binary from GitHub:

curl -s -L "" | sed -nE 's!.*"([^"]*vcluster-darwin-amd64)".*!\1!p' | xargs -n 1 curl -L -o vcluster && chmod +x vcluster;
sudo mv vcluster /usr/local/bin;

Alternatively, you can download the binary for your platform from the GitHub Releases page and add this binary to your PATH.

To confirm that vcluster CLI is successfully installed, test via:

vcluster --version