From 2c097b7ea4fd6428055a928d325a192454056e09 Mon Sep 17 00:00:00 2001 From: tcnksm Date: Sun, 3 Aug 2014 23:57:29 +0900 Subject: [PATCH] Add install documentation --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 44fdeb6..1c12197 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,6 @@ Easy to release your packages to Github Release page. Result is [here](https://github.com/tcnksm/ghr/releases/tag/v0.1.0). -## VS. - -- [aktau/github-release](https://github.com/aktau/github-release) - `github-release` can also create and edit releases and upload artifacts. It has many options. `ghr` is a simple alternative. And `ghr` will parallelize upload artifacts. - ## Usage @@ -56,7 +52,17 @@ $ brew tap tcnksm/ghr $ brew install ghr ``` -If you are in another platform, download binary from [relase page](https://github.com/tcnksm/ghr/releases) and place it in `$PATH` directory. +If you are in another platform, you can install it with `curl`: + +```bash +$ L=/usr/local/bin/ghr && curl -sL -A "`uname -sp`" http://ghr.herokuapp.com/ghr.zip | zcat >$L && chmod +x $L +``` + +You can also download binary from [relase page](https://github.com/tcnksm/ghr/releases) and place it in `$PATH` directory. + +## VS. + +- [aktau/github-release](https://github.com/aktau/github-release) - `github-release` can also create and edit releases and upload artifacts. It has many options. `ghr` is a simple alternative. And `ghr` will parallelize upload artifacts. ## Contribution