{"id":21326749,"url":"https://github.com/release-lab/install","last_synced_at":"2025-07-12T07:30:53.044Z","repository":{"id":104272948,"uuid":"413716970","full_name":"release-lab/install","owner":"release-lab","description":"install script for any command line tools","archived":false,"fork":false,"pushed_at":"2023-11-09T06:02:47.000Z","size":23,"stargazers_count":14,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"v1","last_synced_at":"2023-11-09T07:21:22.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/release-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-05T07:30:00.000Z","updated_at":"2023-11-09T07:21:25.021Z","dependencies_parsed_at":null,"dependency_job_id":"548d7e78-757f-4ddb-a28f-d347c8808031","html_url":"https://github.com/release-lab/install","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Finstall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Finstall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Finstall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Finstall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/release-lab","download_url":"https://codeload.github.com/release-lab/install/tar.gz/refs/heads/v1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225802625,"owners_count":17526452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T21:11:08.338Z","updated_at":"2024-11-21T21:11:08.893Z","avatar_url":"https://github.com/release-lab.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"### Installer\n\nThis is a script for download binary from Github Release and install in your computer.\n\nFor a long time, I wrote a lot of tools and released them on Github Release, but I had to write an installation script for each tool.\n\nThis took me a lot of time and did a lot of repetitive work.\n\nSo I decided to write a universal script, which applies to all repo.\n\nIt needs to meet the following format `{name}_{os}_{arch}.tar.gz`\n\neg.\n\n```\nwhatchanged_darwin_amd64.tar.gz\nwhatchanged_darwin_arm64.tar.gz\nwhatchanged_freebsd_amd64.tar.gz\nwhatchanged_windows_amd64.tar.gz\n...\n```\n\n### 1. Shell (Mac/Linux)\n\ninstall latest version\n\n```bash\ncurl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r={owner}/{repo}\n```\n\ninstall specified version\n\n```bash\ncurl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r={owner}/{repo} -v={version}\n```\n\nspecified the executable filename name\n\n```bash\ncurl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r={owner}/{repo} -e={exe}\n```\n\ninstall from a `Github Mirror` website (Very helpful if you got network trouble to accessing Github). see [forward-cli](https://github.com/axetroy/forward-cli)\n\n```bash\n# setup revers proxy\n$ forward --proxy-external https://github.com\n2022/01/26 16:52:42 Proxy 'http://192.168.4.105:80' to 'https://github.com'\n# install\n$ curl -fsSL http://192.168.4.105/release-lab/install/raw/v1/install.sh | bash -s -- -r=release-lab/whatchanged -g=http://192.168.4.105\n```\n\n### 2. PowerShell (Windows):\n\ninstall latest version\n\n```powershell\n$r=\"{owner}/{repo}\";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex\n```\n\ninstall specified version\n\n```powershell\n$r=\"{owner}/{repo}\";$v=\"{version}\";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex\n```\n\nspecified the executable filename name\n\n```bash\n$r=\"{owner}/{repo}\";$e=\"{exe}\";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex\n```\n\ninstall from a `Github Mirror` website (Very helpful if you got network trouble to accessing Github). see [forward-cli](https://github.com/axetroy/forward-cli)\n\n```powershell\n# setup revers proxy\n$ forward --proxy-external https://github.com\n2022/01/26 16:52:42 Proxy 'http://192.168.4.105:80' to 'https://github.com'\n# install\n$ $r=\"release-lab/whatchanged\";$g=\"http://192.168.4.105\";iwr http://192.168.4.105/release-lab/install/raw/v1/install.ps1 -useb | iex\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-lab%2Finstall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelease-lab%2Finstall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-lab%2Finstall/lists"}