Files
kustomize/docs/zh/INSTALL.md
guoxudong a8c476f7c0 add the Chhinese translation of docs list & install (#1022)
* Chinese docs list

* translate INSTALL.md

* supplement

* translate workflows.md

* fix

* update README & INSTALL

* Fix bad links

* squash all the commits of Chinese docs
2019-05-02 08:46:15 -07:00

1.1 KiB
Raw Blame History

安装

在 macOS ,您可以使用软件包管理器 Homebrew 来安装 kustomize 。

brew install kustomize

在 windows ,您可以使用软件包管理器 Chocolatey 来安装 kustomize 。

choco install kustomize

有关软件包管理器 chocolatey 的使用以及对之前版本的支持,请参考以下链接:

对于其他系统,请在 release 页面 下载相应系统的二进制文件。

或者使用命令行获取最新的官方版本:

opsys=linux  # or darwin, or windows
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_*_${opsys}_amd64 kustomize
chmod u+x kustomize

使用 Go v1.10.1 或更高版本安装(如果可以访问 golang.org

go get sigs.k8s.io/kustomize