In the past I ran the CLI. Using the balena cloud to manage mostly pi devices. Want to setup a standalone (not balenaOS) pi to use the CLI.
I’m having problems getting it to install via NPM. I thought from rust memory that used to work?
Is the CLI intel and mac only? Or other 64bit linux devices?
To be very clear, I’m not wanting to install it on my balenaOS devices. This would be a debian/ubuntu standalone pi4.
Any tips appreciated
srlowe
March 16, 2021, 10:17am
4
Hello, Yes the CLI should work fine on a Pi running Linux. While NPM installation is supported, it is not recommended for general use. We provide standalone binaries, which should get you up and running quickly. Please follow the instructions here:
# balena CLI Installation Instructions for Linux
These instructions are for the recommended installation option. They are suitable for most Linux
distributions, except notably for **Linux Alpine** or **Busybox**. For these distros, see [advanced
installation options](./INSTALL-ADVANCED.md).
Selected operating system: **Linux**
1. Download the latest zip file from the [latest release
page](https://github.com/balena-io/balena-cli/releases/latest). 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. The extracted contents will include a
`balena-cli` folder.
3. Add the `balena-cli` folder to the system's `PATH` environment variable. There are several
ways of achieving this on Linux: See this [StackOverflow post](https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix). Close and reopen the terminal window
so that the changes to PATH can take effect.
This file has been truncated. show original
Thank you