From 7ec104b8f0b08bf93785c9ee1b02330df713fe56 Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Tue, 15 Nov 2016 15:59:53 -0500 Subject: [PATCH] Update README since Kompose is now Go gettable Since You're now able to install Kompose via `go get`. Update the README accordingly. --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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