diff --git a/README.md b/README.md index 3495ee52..65c5b554 100644 --- a/README.md +++ b/README.md @@ -31,21 +31,26 @@ Other examples are provided in the _examples_ [directory](./examples). ## Installation +To install `kompose`, you can either `go get` or install the binary from a new release. + +#### Go + +```sh +go get github.com/kubernetes-incubator/kompose +``` + +#### GitHub release + Grab the latest [release](https://github.com/kubernetes-incubator/kompose/releases) for your OS, untar and extract the binary. Linux example: -``` -wget https://github.com/kubernetes-incubator/kompose/releases/download/v0.1.1/kompose_linux-amd64.tar.gz + +```sh +wget https://github.com/kubernetes-incubator/kompose/releases/download/v0.1.2/kompose_linux-amd64.tar.gz tar -xvf kompose_linux-amd64.tar.gz --strip 1 sudo mv kompose /usr/local/bin ``` -Otherwise, you could take the latest development package from master branch. Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used: -```console -$ go get github.com/kubernetes-incubator/kompose -$ export PATH=$PATH:$GOPATH/bin -``` - ## Bash completion Running this below command in order to benefit from bash completion