{"id":28552197,"url":"https://github.com/heroku/heroku-buildpack-cli","last_synced_at":"2025-07-06T03:31:30.511Z","repository":{"id":54590571,"uuid":"94482243","full_name":"heroku/heroku-buildpack-cli","owner":"heroku","description":"Classic buildpack that installs the Heroku CLI.","archived":false,"fork":false,"pushed_at":"2024-01-28T15:12:17.000Z","size":32,"stargazers_count":42,"open_issues_count":4,"forks_count":30,"subscribers_count":89,"default_branch":"main","last_synced_at":"2025-06-10T04:08:47.398Z","etag":null,"topics":["heroku","heroku-buildpack","heroku-cli"],"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/heroku.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-06-15T22:03:27.000Z","updated_at":"2024-11-26T09:08:58.000Z","dependencies_parsed_at":"2024-01-12T00:51:55.391Z","dependency_job_id":"ee6c0c26-0bd6-46cc-b487-dc34550a9e30","html_url":"https://github.com/heroku/heroku-buildpack-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/heroku/heroku-buildpack-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heroku","download_url":"https://codeload.github.com/heroku/heroku-buildpack-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263843047,"owners_count":23518709,"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":["heroku","heroku-buildpack","heroku-cli"],"created_at":"2025-06-10T04:08:25.179Z","updated_at":"2025-07-06T03:31:30.504Z","avatar_url":"https://github.com/heroku.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Heroku buildpack: Heroku CLI\n=========================\n\nThis is a [Heroku buildpack](http://devcenter.heroku.com/articles/buildpacks) that\nallows one to run the Heroku CLI in a dyno alongside application code.\n\nThis is not a replacement for the [Heroku API](https://devcenter.heroku.com/articles/platform-api-reference#overview) or various clients like [v3 Ruby](https://github.com/heroku/platform-api), [node](https://www.npmjs.org/package/heroku-client) or [python](https://github.com/heroku/heroku.py). Some private APIs like `pgbackups` do require the buildpack, so this exists.\n\nUsage\n-----\n\nExample usage:\n\n    $ heroku config:set HEROKU_API_KEY=`heroku auth:token`\n\n    $ heroku buildpacks:add heroku-community/cli\n\n    $ git push heroku master\n    ...\n\n    remote: -----\u003e heroku-cli app detected\n    remote: === Fetching and vendoring Heroku CLI into slug\n    remote: === Installing profile.d script\n    remote: === Heroku CLI installation done\n    ...\n\n    $ heroku run 'heroku auth:token'\n    Running `heroku auth:token` attached to terminal... up, run.3706\n    abcdef0123456789abcdef0123456789abcdef01\n\n    $ heroku run 'heroku pgbackups:capture SILVER -a myapp'\n    Running `heroku pgbackups:capture SILVER -a myapp` attached to terminal... up, run.9532\n\n    HEROKU_POSTGRESQL_SILVER_URL  ----backup---\u003e  b003\n\n    Capturing... done\n    Storing... done\n    \nThe `heroku-community/cli` from the [Buildpack Registry](https://devcenter.heroku.com/articles/buildpack-registry) contains the latest stable version of the buildpack. To use the edge version of the buildpack (i.e. the source code in this repository) run this command instead:\n\n    $ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-cli\n\nNotes\n-----\n\nInstead of setting HEROKU_API_KEY directly on the app as shown above, a short lived token may be passed in at run time:\n\n```\nheroku run \"HEROKU_API_KEY=`heroku authorizations:create --expires-in 600 --short` heroku pgbackups:capture SILVER -a myapp\" -a myapp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku%2Fheroku-buildpack-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheroku%2Fheroku-buildpack-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku%2Fheroku-buildpack-cli/lists"}