Get started
hd
is a HTTP download tool.
Install it via: brew install linuxsuren/linuxsuren/hd
Or download it directly (for Linux):
curl -L https://github.com/linuxsuren/http-downloader/releases/latest/download/hd-linux-amd64.tar.gz | tar xzv
mv hd /usr/local/bin
Usage
Download
hd get https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz --thread 6
Or use a simple way instead of typing the whole URL:
hd get jenkins-zh/jenkins-cli/jcli -t 6
Install
You can also install a package from GitHub:
hd install jenkins-zh/jenkins-cli/jcli -t 6
Search
hd can download or install via the format of $org/$repo
. If you find that it's not working. It might because of there's
no record in hd-home. You're welcome to help us to maintain it.
When you first run it, please init via: hd fetch
then you can search it by a keyword: hd search jenkins
Features
- go library for HTTP
- multi-thread
- continuously (TODO)
- GitHub release asset friendly