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 (untested) | amd64 and arm64 |
Docker (Required for Local Clusters)
Section titled âDocker (Required for Local Clusters)â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âThe supported Kubernetes distributions (x-axis) run on different infrastructure providers (y-axis). You need to have access to at least one provider for your chosen distribution.
| Provider | Vanilla | K3s | Talos |
|---|---|---|---|
| Docker | â (Kind) | â (K3d) | â |
| Hetzner | â | â | â |
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.
Go Install
Section titled âGo InstallâIf you have Go 1.25.4+ installed, you can install KSail directly from source:
go install github.com/devantler-tech/ksail/v5@latestThis builds and installs the ksail binary to $GOPATH/bin (typically ~/go/bin). Ensure this directory is in your PATH.
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:
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.
For development and contributing, see the Contributing Guide.
Embedded Tools
Section titled âEmbedded ToolsâKSail embeds common Kubernetes tools as Go libraries, so you donât need to install them separately:
- kubectl â Kubernetes command-line tool
- helm â Kubernetes package manager
- kind â Kubernetes in Docker (for Vanilla distribution)
- k3d â K3s in Docker (for K3s distribution)
- flux â GitOps toolkit (optional)
- argocd â Declarative GitOps (optional)
- sops â Secret encryption (optional)
All these tools are available through KSailâs unified CLI interface.
Verification
Section titled âVerificationâAfter installation, verify that KSail is installed correctly:
ksail --versionYou should see version information displayed. To see all available commands:
ksail --helpNext Steps
Section titled âNext Stepsâ- Read the Features overview to understand what KSail can do
- Follow the Configuration guide to set up your first cluster
- Explore Use Cases for common workflows
- Check the Support Matrix for detailed platform compatibility