diff --git a/README.md b/README.md index 39f3cd2b0..291366389 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,14 @@ This project uses Go modules to manage its dependencies, so feel free to work fr of your `GOPATH`. However, if you'd like to continue to work from within your `GOPATH`, please export `GO111MODULE=on`. +## Install + +To install only the controller-gen binary : +```sh +go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 +``` +**NOTE** Please export `GO111MODULE=on` and the binary would be installed at `$GOPATH/bin`. + ## Releasing and Versioning See [VERSIONING.md](VERSIONING.md).