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
Requirements:

  • 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 -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-darwin-amd64" && sudo install -c -m 0755 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