Download official releases

    Every release of Lokomotive provides the lokoctl binary for several operating systems. These binaries can be manually downloaded and installed.

    1. Download your desired version , including the GPG signature.

    2. Verify the signature. It should match one of the Trusted keys .

    gpg --verify lokoctl_v0.9.0_linux_amd64.tar.gz.sig
    1. Unpack it
    tar xvf lokoctl_v0.9.0_linux_amd64.tar.gz
    1. Find the lokoctl binary in the unpacked directory and move it to its desired location
    mv lokoctl_v0.9.0_linux_amd64/lokoctl ~/.local/bin/lokoctl
    1. Verify the version of lokoctl
    lokoctl version

    Using ‘go get’

    You can quickly get latest version of lokoctl by running following command:

    go get github.com/kinvolk/lokomotive/cmd/lokoctl

    Once finished, lokoctl binary should be available in $GOPATH/bin.

    Building from source

    Clone this repository and build the lokoctl binary:

    git clone https://github.com/kinvolk/lokomotive
    cd lokomotive

    The binary will be created in the project main directory.

    Run lokoctl help to get an overview of all available commands.