The easiest way to get etcd is to use one of the pre-built release binaries which are available for OSX, Linux, Windows, appc, and Docker. Instructions for using these binaries are on the .

    For those wanting to try the very latest version, build etcd from the branch. Go version 1.8+ is required to build the latest version of etcd. To ensure etcd is built against well-tested libraries, etcd vendors its dependencies for official release binaries. However, etcd’s vendoring is also optional to avoid potential import conflicts when embedding the etcd server or using the etcd client.

    To build a vendored etcd from the branch via go get:

    To build etcd from the branch without vendoring (may not build due to upstream conflicts):

    Start etcd:

    Set a key: