Installation
Prerequisites
Section titled “Prerequisites”System Requirements
Section titled “System Requirements”KSail works on all major operating systems and modern CPU architectures:
| OS | Architecture |
|---|---|
| 🐧 Linux | amd64 and arm64 |
| macOS | arm64 |
| ⊞ Windows (native untested; WSL2 recommended) | amd64 and arm64 |
Docker (Required for the Docker Provider)
Section titled “Docker (Required for the Docker Provider)”Docker is required to create local clusters using the Docker provider. Install Docker Desktop or Docker Engine and ensure docker ps works.
After installation, verify Docker is running:
docker psProvider Support
Section titled “Provider Support”Each Kubernetes distribution runs on one or more infrastructure providers (Docker, Kubernetes, Hetzner, Omni, AWS), and you need access to at least one provider for your chosen distribution. See the Support Matrix for the full distribution × provider compatibility table and per-provider requirements.
Installation Methods
Section titled “Installation Methods”Homebrew (macOS/Linux)
Section titled “Homebrew (macOS/Linux)”The easiest way to install KSail on macOS or Linux:
brew install --cask devantler-tech/tap/ksailThis installs the latest stable release and makes ksail available in your PATH.
Shell Installer (Linux/macOS)
Section titled “Shell Installer (Linux/macOS)”Install the latest release archive with checksum verification:
curl -fsSL https://github.com/devantler-tech/ksail/releases/latest/download/install.sh | shIf Go is installed, the script uses $GOPATH/bin; otherwise it uses ~/.local/bin. Set KSAIL_INSTALL_DIR to choose another destination. To install a specific release, set KSAIL_VERSION to its v-prefixed tag (for example, v7.180.5).
Binary Download
Section titled “Binary Download”Download pre-built binaries from the GitHub Releases page:
- Navigate to the latest release
- Download the appropriate binary for your OS and architecture
- Extract the archive
- Move the
ksailbinary to a directory in your PATH (e.g.,/usr/local/bin) - Make it executable (Linux/macOS):
chmod +x ksail
Build from Source
Section titled “Build from Source”Clone the repository and build the binary with its reviewed module graph:
git clone https://github.com/devantler-tech/ksail.gitcd ksailgo build -o ksailThe ksail binary will be created in the current directory. Move it to a directory in your PATH if desired.
Embedded Tools
Section titled “Embedded Tools”KSail embeds common Kubernetes tools as Go libraries — including kubectl, helm, kind (Vanilla), k3d (K3s), vcluster/Vind (VCluster), flux, argocd, sops, and others — so no separate installation is needed. All tools are accessible through KSail’s unified CLI.
Optional: AI provider credentials (for AI Chat)
Section titled “Optional: AI provider credentials (for AI Chat)”The AI Chat Assistant works with OpenAI, Anthropic, Google Gemini, Azure OpenAI, OpenRouter, Ollama, any OpenAI-compatible endpoint, or GitHub Copilot. API-provider users set their own model and API key; no Copilot subscription is required.
For Copilot, run copilot auth login or configure token authentication. See AI Chat Assistant for every provider path.
VSCode Extension
Section titled “VSCode Extension”For Visual Studio Code users, install the KSail extension to manage clusters directly from your editor.
Install from Marketplace
Section titled “Install from Marketplace”- Open VSCode
- Press
Cmd+Shift+X(macOS) orCtrl+Shift+X(Windows/Linux) to open Extensions view - Search for “KSail” — or type
@mcpto filter MCP-compatible extensions and find KSail there - Click Install on the extension by devantler
Marketplace Link: KSail - Visual Studio Marketplace
Install from VSIX
Section titled “Install from VSIX”- Download the latest
.vsixfile from GitHub Releases - Open VSCode
- Press
Cmd+Shift+P(macOS) orCtrl+Shift+P(Windows/Linux) - Type
Extensions: Install from VSIX... - Select the downloaded
.vsixfile
Extension Prerequisites
Section titled “Extension Prerequisites”- KSail CLI installed and available in PATH (see installation methods above)
- Docker running (for cluster operations)
- K9s (optional, for cluster connection via
Connect to Clustercommand)
See the VSCode Extension guide for detailed capabilities, commands, and settings.
Verification
Section titled “Verification”ksail --version # show versionksail --help # show all commands