Quickstart
Follow the instructions below to locally install, run, and test a simple single-member cluster of etcd.
To help with the commands that follow, set these environment variables:
On Linux
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
mkdir -p $ETCD_BIN
curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C $ETCD_BIN --strip-components=1
On macOS
Note
$ $ETCD_BIN/etcd
⋮
From another terminal, use etcdctl to set a key:
Now that a key has been set, retrieve it:
greeting
Hello, etcd
- Explore the gRPC API.
- Set up a .
- Learn how to configure etcd.
- Find .
- Use TLS to secure an etcd cluster.
- .