Skip to content

Instantly share code, notes, and snippets.

@salmanfarisvp
Created May 25, 2023 11:02
Show Gist options
  • Save salmanfarisvp/1c4d408be34f23e7cc15eda08ebabde8 to your computer and use it in GitHub Desktop.
Save salmanfarisvp/1c4d408be34f23e7cc15eda08ebabde8 to your computer and use it in GitHub Desktop.
Balena CLI Installation on WSL

This guide will show how to Install balena CLI for WSL

  1. Download the latest zip file from the latest release page. Look for a file name that ends with "-standalone.zip", for example: balena-cli-vX.Y.Z-linux-x64-standalone.zip.

  2. Extract the zip file contents to any folder you choose, for example /home/balena. The extracted contents will include a balena-cli folder.

  3. Open the WSL terminal inside the balena-cli folder and make the file executable by entering the command sudo chmod +x balena

  4. Add the balena CLI to path , for that enter sudo nano ~/.bashrc and at PATH details at the bottom export PATH="$PATH:/folder/subfolder/"

  5. Done. Type balena to access the CLI tool.

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