mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-18 05:05:14 +00:00
1.1 KiB
1.1 KiB
Installation
Binaries at various versions for linux, macOs and Windows are available on the release page.
Or...
Quickly curl the latest
# pick one
opsys=darwin
opsys=windows
opsys=linux
curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases/latest |\
grep browser_download |\
grep $opsys |\
cut -d '"' -f 4 |\
xargs curl -O -L
mv kustomize_kustomize\.v*_${opsys}_amd64 kustomize
chmod u+x kustomize
Get and install source for a particular release
For example
# Omit the @v3.2.3 to get the default for major version 3
GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v3@v3.2.3
Use of GO111MODULE=on shouldn't be necessary
with Go v1.13.
Other methods
macOS
brew install kustomize
windows
choco install kustomize
For support on the chocolatey package and prior releases, see: