etcd (Install)

This is not the latest version of etcd (Install) available.

3.1.8 | Updated: 22 May 2017



Downloads of v 3.1.8:


Software Author(s):

  • CoreOS

etcd (Install) 3.1.8

This is not the latest version of etcd (Install) available.

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


To install etcd (Install), run the following command from the command line or from PowerShell:


To upgrade etcd (Install), run the following command from the command line or from PowerShell:


To uninstall etcd (Install), run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade etcd -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade etcd -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure etcd installed
    name: etcd
    state: present
    version: 3.1.8
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'etcd' do
  action    :install
  version  '3.1.8'
  source   'STEP 3 URL'

See docs at

    Name: etcd,
    Version: 3.1.8,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller etcd
   Name     = 'etcd'
   Ensure   = 'Present'
   Version  = '3.1.8'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'etcd':
  provider => 'chocolatey',
  ensure   => '3.1.8',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install etcd version="3.1.8" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 22 May 2017.


etcd is a distributed, consistent key-value store for shared configuration and service discovery, with a focus on being:

* Simple: curl'able user facing API (HTTP+JSON)
* Secure: optional SSL client cert authentication
* Fast: benchmarked 1000s of writes/s per instance
* Reliable: properly distributed using Raft

etcd is written in Go and uses the Raft consensus algorithm to manage a highly-available replicated log.
This package installs etcd as a service, and makes etcdctl.exe available in the path.

The package will pass package parameters to the etcd service.
Example: choco install etcd -y --params="-discovery"

The service is managed with NSSM, you can change the service parameters easily by running nssm edit etcd

Originally packaged by Robert Labrie (


# remove the service if it exists
if ((Get-Service | Where-Object { $_.Name -eq "etcd" }).length) {
    Get-Service etcd | Stop-Service
    &nssm remove etcd confirm
$ErrorActionPreference = 'Stop';

$packageName    = 'etcd'
$packageVersion = '3.1.8'
$url64          = ''
$checksum64     = '6032f6d806f454aa8d08c9178ca84541d818b088ad0991397ba2711f37b9af03'
$checksumType64 = 'sha256'

$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installDir     = "C:\ProgramData\etcd"

Install-ChocolateyZipPackage -PackageName "$packageName" -UnzipLocation "$installDir" -Url64 "$url64" -Checksum64 "$checksum64" -ChecksumType64 "$checksumType64"

# check OS bitness
if (!([Environment]::Is64BitOperatingSystem)) {
	Write-Error "etcd requires 64bit operating system"

Copy-Item "C:\ProgramData\etcd\etcd-v$packageVersion-windows-amd64\*" C:\ProgramData\etcd -Recurse -Force
Remove-Item "C:\ProgramData\etcd\etcd-v$packageVersion-windows-amd64" -Recurse -Force

# older versions of etcd didn't put EXE on the binary
if (Test-Path C:\ProgramData\etcd\etcd) {
    copy-item C:\ProgramData\etcd\etcd C:\ProgramData\etcd\etcd.exe -force
    remove-item C:\ProgramData\etcd\etcd
if (Test-Path C:\ProgramData\etcd\etcdctl) {
    copy-item C:\ProgramData\etcd\etcdctl C:\ProgramData\etcd\etcdctl.exe -force
    remove-item C:\ProgramData\etcd\etcdctl

Copy-Item C:\ProgramData\etcd\etcdctl.exe $toolsDir -Force
&nssm install etcd C:\ProgramData\etcd\etcd.exe "$($env:chocolateyPackageParameters)"
&nssm set etcd Start SERVICE_AUTO_START
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Remove-Item C:\ProgramData\etcd -Recurse -Force
Remove-Item "$toolsDir\etcdctl.exe"

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
etcd (Install) 3.4.12 141 Wednesday, August 19, 2020 Approved
etcd (Install) 3.4.11 34 Wednesday, August 19, 2020 Approved
etcd (Install) 3.4.10 89 Friday, July 17, 2020 Approved
etcd (Install) 3.4.9 126 Friday, May 22, 2020 Approved
etcd (Install) 3.4.8 57 Tuesday, May 19, 2020 Approved
etcd (Install) 3.4.7 135 Thursday, April 2, 2020 Approved
etcd (Install) 3.4.6 82 Monday, March 30, 2020 Approved
etcd (Install) 3.4.5 115 Thursday, March 19, 2020 Approved
Discussion for the etcd (Install) Package

Ground Rules:

  • This discussion is only about etcd (Install) and the etcd (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or etcd (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus