← back to code snippets

Add/remove buildpack (Heroku)

Posted on July 12th, 2015 by Graeme

To add a buildpack, do this: 

heroku config:add BUILDPACK_URL=git://github.com/heroku/heroku-buildpack-nodejs.gi

src: Stackoverflow

What's going on?

If you just run:

 heroku config 

You'll see a list of config vars, including any you have added (as above).

When it comes to removing, you just do:

heroku config:unset BUILDPACK_URL

and it will be removed.