Installation
Myks is a single binary with ytt, vendir and kbld built in. Two external tools are needed at runtime:
- helm 3.12 or newer, only if your applications render Helm charts;
- git, for Smart Mode and for the Argo CD defaults that are read from the repository (URL and branch).
Myks does not track compatibility with specific Helm versions. Recent versions work.
Homebrew
Section titled “Homebrew”brew install --cask mykso/tap/myksThe package is available in Nixpkgs as
myks:
nix-shell -p myks kubernetes-helm gitThe Nixpkgs version can lag behind the latest release. To run the latest version, use the flake of this repository:
nix shell 'github:mykso/myks/main#myks' 'nixpkgs#kubernetes-helm' 'nixpkgs#git'On Arch-based distributions, install
myks-bin:
yay -S myks-binAPK, DEB, RPM
Section titled “APK, DEB, RPM”The latest release page lists packages for Alpine, Debian-based and RPM-based distributions.
Docker
Section titled “Docker”Images are published to the
GitHub container registry.
They include helm and git, use /app as the working directory and run
myks as the entry point:
docker run --rm -v "$PWD:/app" ghcr.io/mykso/myks:latest renderGitHub Actions
Section titled “GitHub Actions”mykso/setup-action installs a pinned version of myks in a workflow. See GitOps and CI for complete workflows.
Binary archives
Section titled “Binary archives”Download an archive for your platform from the
releases page and put the myks
binary on your PATH.
From source
Section titled “From source”go install github.com/mykso/myks@latest does not work, because go.mod
replaces two dependencies with forks. Build from a checkout instead:
git clone https://github.com/mykso/myks.gitcd myksgo build -o myks .Shell completion
Section titled “Shell completion”# bashsource <(myks completion bash)# zshmyks completion zsh > "${fpath[1]}/_myks"# fishmyks completion fish | sourcePinning the version for a project
Section titled “Pinning the version for a project”Set min-version in the project’s .myks.yaml so that older binaries refuse to
run it (see Configuration):
min-version: 'v5.16.0'