- Go to https://consul.io/downloads.html and download the appropriate archive, depending on the operating system that you are using. Consul supports Windows, OS X, and Linux, so it should work for the majority of readers.
If you are an OS X user, you can install Consul using Homebrew by running brew install caskroom/cask/brew-cask followed by brew cask install consul.
- After the installation, we should be able to run consul --version and see the following output:
Consul v1.0.1Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)
- With Consul successfully installed, we should be able to start it by running the consul agent -server -bootstrap-expect 1 ...