kompose/docs/setup.md
Charlie Drage 12b106f129 Add setup.md
Adds setup.md to the docs folder in order to sync with changes to
http://kompose.io site (whenever we update setup.md here, it'll update
on the gh-pages branch).
2017-04-10 09:21:47 -04:00

1.7 KiB

Installation

We have multiple ways to install Kompose. Our prefered method is downloading the binary from the latest GitHub release.

GitHub release

Kompose is released via GitHub on a three-week cycle, you can see all current releases on the GitHub release page.

# Linux 
curl -L https://github.com/kubernetes-incubator/kompose/releases/download/v0.5.0/kompose-linux-amd64 -o kompose

# macOS
curl -L https://github.com/kubernetes-incubator/kompose/releases/download/v0.5.0/kompose-darwin-amd64 -o kompose

# Windows
curl -L https://github.com/kubernetes-incubator/kompose/releases/download/v0.5.0/kompose-windows-amd64.exe -o kompose.exe

chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose

Alternatively, you can download the tarball.

Go

Installing using go get pulls from the master branch with the latest development changes.

go get -u github.com/kubernetes-incubator/kompose

CentOS

Kompose is in EPEL CentOS repository. If you don't have EPEL repository already installed and enabled you can do it by running sudo yum install epel-release

If you have EPEL enabled in your system, you can install Kompose like any other package.

sudo yum -y install kompose

Fedora

Kompose is in Fedora 24 and 25 repositories. You can install it just like any other package.

sudo dnf -y install kompose

macOS

On macOS you can install latest release via Homebrew:

brew install kompose