How to download code from deployed app version ?

Issue

I want to download code from an older version of the app.

Resolution

  1. Determine the release version number you want the code/slug to be downloaded from. The CLI command heroku releases -a <app_name> will show you all releases for your app.

  2. Run heroku slugs -a <app_name> to find the slug ID for the particular version selected. You'll need to install the Heroku Slugs CLI Plugin first if you haven't already.

  3. Run heroku slugs:download <slug_id> -a <app_name>.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support