2019-03-08 18:47:06 +00:00
---
title: "Installation"
date: 2019-03-03T16:39:46+01:00
weight: 1
draft: false
---
## Binaries
2019-03-11 16:56:48 +00:00
To get the binary just download the latest release for your OS/Arch from [the release page ](https://github.com/go-acme/lego/releases ) and put the binary somewhere convenient.
2019-03-08 18:47:06 +00:00
lego does not assume anything about the location you run it from.
## From Docker
```bash
2019-03-11 16:56:48 +00:00
docker run goacme/lego -h
2019-03-08 18:47:06 +00:00
```
## From package managers
- [ArchLinux (AUR) ](https://aur.archlinux.org/packages/lego ):
```bash
yay -S lego
```
**Note**: only the package manager for Arch Linux is officially supported by the lego team.
## From sources
To install from sources, just run:
```bash
2019-03-11 16:56:48 +00:00
go get -u github.com/go-acme/lego/cmd/lego
2019-03-08 18:47:06 +00:00
```