Herald's Tech Notes
  • Home
  • Favorite
  • About
  • Search

GitHub

A collection of 1 post

GitHub

一条命令下载 Github 最新版本程序

这里以 AriaNg 仓库 https://github.com/mayswind/AriaNg 举例,下载最新的编译版本。 首先用 curl 通过 Github API 获取仓库最新版本的 JSON 数据,然后通过 jq 工具(需要安装)解析出下载地址,最后用 wget 完成下载。 curl -sL https://api.github.com/repos/

  • Herald Yu
    Herald Yu
1 min read
Herald's Tech Notes © 2019
Latest Posts Twitter Ghost