Skip to content

How to install

neil edited this page May 25, 2019 · 10 revisions

1. Install from web:


curl | sh


wget -O - | sh

2. Or, install from GitHub:

curl | INSTALLONLINE=1  sh


wget -O - | INSTALLONLINE=1  sh

3. Or, git clone and install:

git clone
./ --install

4. Advanced installation

git clone
./ --install  \
--home ~/myacme \
--config-home ~/myacme/data \
--cert-home  ~/mycerts \
--accountemail  "" \
--accountkey  ~/myaccount.key \
--accountconf ~/myaccount.conf \
--useragent  "this is my client."

You don't need to set them all, just set those ones you care about.

Explanations :

  • --home is a customized dir to install in. By default, it installs into ~/
  • --config-home is a writable folder, will write all the files(including cert/keys, configs) there. By default, it's in --home
  • --cert-home is a customized dir to save the certs you issue. By default, it's saved in --config-home.
  • --accountemail is the email used to register account to Let's Encrypt, you will receive renewal notice email here. Default is empty.
  • --accountkey is the file saving your account private key. By default it's saved in --config-home.
  • --useragent is the user-agent header value used to send to Let's Encrypt.
You can’t perform that action at this time.