Created
November 11, 2017 01:19
-
-
Save Ryuno-Ki/1f286228eb0229cf9a7fdb2d4951beb3 to your computer and use it in GitHub Desktop.
How to install Heroku CLI (fka Toolbelt) on Sabayon Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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