mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Update INSTALL.md
This commit is contained in:
@@ -21,20 +21,16 @@ mv kustomize_*_${opsys}_amd64 kustomize
|
||||
chmod u+x kustomize
|
||||
```
|
||||
|
||||
## Install from the HEAD of master branch
|
||||
## Get and install source for a particular release
|
||||
|
||||
Requires [Go] v1.12 or higher:
|
||||
|
||||
<!-- @installkustomize @testAgainstLatestRelease -->
|
||||
For example
|
||||
```
|
||||
go install sigs.k8s.io/kustomize/v3/cmd/kustomize
|
||||
# Omit the @v3.2.1 to get the default for major version 3
|
||||
GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v3@v3.2.1
|
||||
```
|
||||
|
||||
> With [Go v1.12](https://golang.org/doc/go1.12#modules), prefix the above command with `GO111MODULE=on`, e.g.
|
||||
> ```
|
||||
> GO111MODULE=on go install sigs.k8s.io/kustomize/v3/cmd/kustomize
|
||||
> ```
|
||||
> This shouldn't be necessary with [Go v1.13](https://golang.org/doc/go1.13#modules).
|
||||
Use of `GO111MODULE=on` shouldn't be necessary
|
||||
with [Go v1.13](https://golang.org/doc/go1.13#modules).
|
||||
|
||||
### Other methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user