{"id":18099974,"url":"https://github.com/rossmacarthur/install","last_synced_at":"2025-09-06T22:30:43.482Z","repository":{"id":53619062,"uuid":"217336158","full_name":"rossmacarthur/install","owner":"rossmacarthur","description":"Install a Rust crate from a GitHub release","archived":false,"fork":false,"pushed_at":"2021-02-22T12:13:05.000Z","size":32,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T17:41:05.355Z","etag":null,"topics":["crate","download","linux","macos","release","rust","windows"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rossmacarthur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-24T15:47:41.000Z","updated_at":"2025-02-28T17:34:07.000Z","dependencies_parsed_at":"2022-09-21T12:23:02.184Z","dependency_job_id":null,"html_url":"https://github.com/rossmacarthur/install","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rossmacarthur/install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Finstall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Finstall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Finstall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Finstall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossmacarthur","download_url":"https://codeload.github.com/rossmacarthur/install/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Finstall/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273973340,"owners_count":25200575,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["crate","download","linux","macos","release","rust","windows"],"created_at":"2024-10-31T21:12:03.276Z","updated_at":"2025-09-06T22:30:43.198Z","avatar_url":"https://github.com/rossmacarthur.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install\n\nThis repository just contains a little script that can be downloaded from the\ninternet to install a Rust crate from a GitHub release. It determines the latest\nrelease, the current platform (without the need for `rustc`), and installs the\nextracted binary to the specified location.\n\n## Usage\n\nTo install a crate simply run the following\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo \"\u003cusername\u003e/\u003crepository\u003e\" --to ~/.cargo/bin\n```\n\n## Examples\n\n#### [cross](https://github.com/rust-embedded/cross)\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo rust-embedded/cross --to /usr/local/bin\n```\n\n#### [hyperfine](https://github.com/sharkdp/hyperfine)\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo sharkdp/hyperfine --to /usr/local/bin\n```\n\n#### [just](https://github.com/casey/just)\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo casey/just --to /usr/local/bin\n```\n\n#### [ripgrep](https://github.com/BurntSushi/ripgrep)\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo BurntSushi/ripgrep --bin rg --to /usr/local/bin\n```\n\n#### [sheldon](https://github.com/rossmacarthur/sheldon)\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo rossmacarthur/sheldon --to /usr/local/bin\n```\n\n## Acknowledgements\n\nThis script was inspired by the [japaric/trust] install script. The platform\ndetection code is taken from [rust-lang/rustup].\n\n[japaric/trust]: https://github.com/japaric/trust\n[rust-lang/rustup]: https://github.com/rust-lang/rustup\n\n## License\n\nThis project is licensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Finstall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossmacarthur%2Finstall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Finstall/lists"}