Skip to content

Instantly share code, notes, and snippets.

@pcgeek86
Last active October 17, 2021 22:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcgeek86/ea3eacde59ee8c8f5567d9648df69660 to your computer and use it in GitHub Desktop.
Save pcgeek86/ea3eacde59ee8c8f5567d9648df69660 to your computer and use it in GitHub Desktop.
Install Balena CLI on Debian / Ubuntu
# Trevor Sullivan <trevor@trevorsullivan.net>
export VERSION='v9.12.0'
export FILENAME="balena-cli-$VERSION-linux-x64"
export URL="https://github.com/balena-io/balena-cli/releases/download/$VERSION/$FILENAME.zip"
sudo apt update
sudo apt install httpie unzip --yes
cd $HOME
http --download $URL
unzip $FILENAME.zip
sudo rm /usr/local/bin/balena
sudo ln -s $HOME/balena-cli/balena /usr/local/bin/balena
@Titaon
Copy link

Titaon commented Jan 22, 2020

Thanks pcgeek85, I had to use Linux and the above code to connect as windows 10 didn't work.

@stdcerr
Copy link

stdcerr commented Mar 23, 2020

Your version VERSION='v9.12.0' is a bit out dated, isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment