diff --git a/README.md b/README.md index a30814a..9146490 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,26 @@ It's an alternative for the [official client](https://github.com/letsencrypt/let * PHP 5.5+ * Composer -**Instructions** +**Instructions using the Phar** + +```bash +# Go to https://github.com/kelunik/acme-client/releases/latest +# Download the latest release archive + +# Run it. +chmod +x acme-client.phar +./acme-client.phar + +# Or install it globally +mv ./acme-client.phar /usr/local/bin/acme-client +``` + +If you want to update, just replace the old phar with a new one. + +All commands require an additional `--storage` argument when using the phar. That's the path where your keys and certificates will be stored. +On Unix you could use something like `--storage /etc/acme`. + +**Instructions using Composer** ```bash # Clone repository diff --git a/composer.json b/composer.json index 52bbc59..c71a8eb 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require-dev": { "phpunit/phpunit": "^5", "fabpot/php-cs-fixer": "^1.9", - "macfja/phar-builder": "dev-master#bf48160bd6bdf702557ff213e6837710c1dbf572" + "macfja/phar-builder": "dev-master#a2db582eab26ef7b15144c013408749a79fae361" }, "license": "MIT", "authors": [