Socket
Book a DemoInstallSign in
Socket

@heroku-cli/heroku-slugs

Package Overview
Dependencies
Maintainers
55
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroku-cli/heroku-slugs

Heroku CLI Plugin to manage and download slugs

beta
latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
55
Created
Source

Heroku Slugs CLI Plugin

This plugin adds commands to the Heroku CLI for downloading slugs

Commands

$ heroku slugs -a appname
Slugs in appname
v24: 00000000-bbbb-cccc-dddd-eeeeeeeeeeee
v23: 11111111-bbbb-cccc-dddd-eeeeeeeeeeee
v22: 22222222-bbbb-cccc-dddd-eeeeeeeeeeee
v21: 33333333-bbbb-cccc-dddd-eeeeeeeeeeee

$ heroku slugs:download 00000000-bbbb-cccc-dddd-eeeeeeeeeeee -a appname

This will download the Slug directly from our filestore on S3

Using a proxy

$ export HEROKU_HTTP_PROXY_HOST=<your-proxy-host>
$ export HEROKU_HTTP_PROXY_PORT=<your-proxy-port>
$ heroku slugs:download 00000000-bbbb-cccc-dddd-eeeeeeeeeeee -a appname
  • Heroku Slugs CLI Plugin
  • Usage
  • Commands

Usage

$ npm install -g @heroku-cli/heroku-slugs
$ heroku COMMAND
running command...
$ heroku (--version)
@heroku-cli/heroku-slugs/2.0.0 darwin-x64 node-v20.18.3
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku slugs

list recent slugs on application

USAGE
  $ heroku slugs -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list recent slugs on application

EXAMPLES
  $ heroku slugs --app myapp

See code: src/commands/slugs/index.ts

heroku slugs:download [SLUG]

download a slug's tarball to <APP_NAME>/slug.tar.gz and then extract the slug

USAGE
  $ heroku slugs:download [SLUG] -a <value> [-e] [-r <value>]

ARGUMENTS
  SLUG  name or ID of slug

FLAGS
  -a, --app=<value>      (required) app to run command against
  -e, --no-extract-slug  skip extracting slug after download
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  download a slug's tarball to <APP_NAME>/slug.tar.gz and then extract the slug

EXAMPLES
  $ heroku slugs:download --app example-app v2

  $ heroku slugs:download --app example-app v2 --no-extract-slug

See code: src/commands/slugs/download.ts

Keywords

heroku-plugin

FAQs

Package last updated on 27 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts