{"id":16247245,"url":"https://github.com/dotnetcarpenter/install-stripe-cli","last_synced_at":"2026-02-21T04:03:46.110Z","repository":{"id":39157881,"uuid":"474629305","full_name":"dotnetCarpenter/install-stripe-cli","owner":"dotnetCarpenter","description":"install/update stripe-cli safely from the command line","archived":false,"fork":false,"pushed_at":"2022-11-05T12:43:31.000Z","size":61,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T19:38:54.701Z","etag":null,"topics":["cli","stripe"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnetCarpenter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-27T12:21:25.000Z","updated_at":"2023-01-03T20:10:47.000Z","dependencies_parsed_at":"2022-08-31T02:13:51.398Z","dependency_job_id":null,"html_url":"https://github.com/dotnetCarpenter/install-stripe-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dotnetCarpenter/install-stripe-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetCarpenter%2Finstall-stripe-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetCarpenter%2Finstall-stripe-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetCarpenter%2Finstall-stripe-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetCarpenter%2Finstall-stripe-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnetCarpenter","download_url":"https://codeload.github.com/dotnetCarpenter/install-stripe-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetCarpenter%2Finstall-stripe-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29672776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T03:11:15.450Z","status":"ssl_error","status_checked_at":"2026-02-21T03:10:34.920Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","stripe"],"created_at":"2024-10-10T14:36:30.688Z","updated_at":"2026-02-21T04:03:41.090Z","avatar_url":"https://github.com/dotnetCarpenter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# install-stripe-cli\n\nSince it has been [a full year] without an easy way to install and update [stripe-cli] on linux, I have created `install-stripe-cli` to make that easy.\n\nI wrote [a presentation of `install-stripe-cli`](https://github.com/stripe/stripe-cli/issues/666#issuecomment-1079704202), that I will continue to link to as long as the presentation is still current with this code base.\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Questions / Answers](#questions--answers)\n- [Development](#development)\n\n\n## Installation\n\nCreate a directory where you want to save `install-stripe-cli` and keep the `stripe-cli` installation.\nCopy/Paste the snippet below into your terminal. That will save the latest release of `install-stripe-cli` and print usage if successfull. Requires that [curl], [wget], [jq], [xargs] and [b2sum] is installed.\n\n```bash\ncurl -s https://api.github.com/repos/dotnetcarpenter/install-stripe-cli/tags \\\n| jq 'sort_by(.name)|last|.commit.url' | xargs curl -s \\\n| jq '.files[]|select(.filename == \"install-stripe-cli-checksums.txt\" or .filename == \"install-stripe-cli\").raw_url' \\\n| xargs -P 2 wget -q;\nb2sum --status -c install-stripe-cli-checksums.txt \u0026\u0026 chmod +x install-stripe-cli \u0026\u0026 ./install-stripe-cli --help\n```\n\n## Usage\n\n```\nUsage:\n./install-stripe-cli [-h|--help] [-v|--version] [-lps] [-i usr|deb|rpm]\n\ninstall-stripe-cli version: 1.0.2\n\nOptions:\n  -h, --help\t\t\tPrint usage and exit. -h for short usage and --help for long.\n  -v, --version\t\t\tPrint version and exit.\n  -i, --install=deb|rpm|usr\tChoose how to install. Negates --prompt.\n  -l, --changelog\t\tDisplay the changelog. Requires 'jq' to be installed.\n  -p, --prompt\t\t\tAsk which file to install.\n  -s, --silent\t\t\tOnly print errors, when installing.\n\nExamples:\n\n\t  ./install-stripe-cli\n\n  will download stripe-cli to your current folder and automagically\n  install either the .deb or .rpm file with your package manager.\n  Or symlink it to /usr/local/bin if neither dpkg or rpm was found\n  on your system.\n\n\t  ./install-stripe-cli -i usr\n\n  will download stripe-cli to your current folder and symlink it from\n  /usr/local/bin.  '--install usr'  option does not require 'sudo'.\n\n\t  ./install-stripe-cli -li deb\n\n  will download stripe-cli to your current folder, install it with\n  dpkg and print the changelog.\n\nExit Status:\n\n  Returns success unless an invalid option is given or an error occurs.\n\n  Error code 1:  Invalid option.\n  Error code 2:  stripe-linux-checksums.txt failed to download.\n  Error code 4:  Invalid --install option value.\n  Error code 8:  Could not figure out which file to install.\n\n Coded with 💓 by @dotnetCarpenter - MIT LICENSE © 2022\n```\n\n## Questions / Answers\n\nQ: _The wrong deb/rpm package is installed because stripe now has multiple deb and/or rpm files._\n\nA: _Use `./install-stripe-cli --prompt` until a fix is made and please [create an issue](https://github.com/dotnetCarpenter/install-stripe-cli/issues), if one does not exist._\n\n\nQ: _Will `install-stripe-cli` support installing [pacman]'s Arch Linux package?_\n\nA: _Sure. If Stripe will build an Arch Linux package of [stripe-cli]._\n\n\n## Development\n\nSince keeping _install-stripe-cli-checksums.txt_ in sync with _install-stripe-cli_ is paramount, there is two helpful git hooks in the _scripts/_ folder.\n\n+ _pre-push_ will only allow `git push` if _install-stripe-cli-checksums.txt_ is up to date.\n+ _pre-commit_ will create a new BLAKE2 digest if there is a change to _install-stripe-cli_ and you forgot to run _scripts/create-digest.sh_. It will also add the newly generated _install-stripe-cli-checksums.txt_ to your commit, so they are in sync.\n\nYou need to copy the files into _.git/hooks/_ and make them executable, before they take effect.\n\n\n[a full year]: https://github.com/stripe/stripe-cli/pull/673#issuecomment-1078892697\n[stripe-cli]: https://stripe.com/docs/stripe-cli#install\n\n[curl]: https://curl.se/\n[wget]: https://www.gnu.org/software/wget/\n[xargs]: https://www.gnu.org/software/findutils/xargs/\n[b2sum]: https://www.gnu.org/software/coreutils/\n[jq]: https://stedolan.github.io/jq/\n\n[pacman]: https://archlinux.org/pacman/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnetcarpenter%2Finstall-stripe-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnetcarpenter%2Finstall-stripe-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnetcarpenter%2Finstall-stripe-cli/lists"}