How to configure Heroku on Ubuntu 16.04.3 x64

You need to enable JavaScript to run this app.

Today, I purchased Ubuntu 16.04.3 x64 server running on DigitalOcean infrastructure. It’s not too different than the ones on premise: Configuring Heroku is quite straight-forward. After ssh-ing, run the following commands with sudo:

wget -O heroku.tar.gz
tar -xvzf heroku.tar.gz
mkdir -p /usr/local/lib /usr/local/bin

List the content of the current directory with ls. I found this output:


This output determines the value in the next step, use the first file name in the next command:

mv heroku-cli-v6.15.22-3f1c4bd-linux-x64 /usr/local/lib/heroku
ln -s /usr/local/lib/heroku/bin/heroku /usr/local/bin/heroku

And that’s it.

Nordible is a digital solutions provider helping organizations achieve their digital goals.

We develop and measure digital solutions, implement impactful brand promotion and SEO strategies and develop software driven by rigorous testing that help your business succeed online and beyond.

You can contact us at for business inquiries.

Follow us: