Skip to content

Instantly share code, notes, and snippets.

@Ryuno-Ki
Created November 11, 2017 01:19
Show Gist options
  • Save Ryuno-Ki/1f286228eb0229cf9a7fdb2d4951beb3 to your computer and use it in GitHub Desktop.
Save Ryuno-Ki/1f286228eb0229cf9a7fdb2d4951beb3 to your computer and use it in GitHub Desktop.
How to install Heroku CLI (fka Toolbelt) on Sabayon Linux
cd $HOME
mkdir -p Downloads
cd Downloads
wget https://cli-assets.heroku.com/branches/stable/heroku-linux-amd64.tar.gz # for x86_64 CPU architecture
mkdir -p ../bin/heroku-lib
tar -xvzf heroku-linux-amd64.tar.gz -C ../bin/heroku-lib/
cd ../bin/heroku-lib/
ln -s $HOME/bin/heroku-lib/heroku/bin/heroku $HOME/bin/heroku # Could be that you have to expand $HOME
echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment