Stuck at the CLI install step




I’m trying to set up a balenaDash web frame with a Raspberry Pi and have hit a snag trying to install CLI. Up to this point, the instructions have been rather good and clear (and my device looks like the one pictured under the “Assembling the display and the case” section of, but I’m now stuck.

The documentation ( speaks of two methods for installing CLI; the first is through npm and there is a screen capture of a command line with the necessary commands. However, there are no directions on how to get to that specific command prompt ($). When I try to use the terminal from the device page, I’m put into a bash shell.

Similarly, I can’t SSH into a terminal on the device itself using the Raspberry Pi Finder; the connection is refused.

The second method is to download the CLI as a standalone binary. I followed the instructions, downloaded the ZIP file, unpacked it to a balena-cli directory on my C: drive and added the path as instructed. However, when I open a command prompt in Windows, navigate to the directory and issue a “balena” command I get an error message that says:
‘balena’ is not recognized as an internal or external command, operable program or batch file.

I’ve also tried using the “balena login” command in the bash shell, and logged in using Docker credentials, but still can’t seem to figure out how to get CLI installed.

I’m REALLY confused and don’t know what to do to get past this step. Any help would be appreciated.



Hey @pdsavas ,

Thanks for posting your question here,
As you are on windows, when you navigate to the C:\balena-cli folder (or to the place you unzipped the files to), instead of just using balena, can you try balena.exe. For example using balena.exe login and see if it works for you.

Please let me know if that works, otherwise we can keep working until we get everything up and running.




There is no balena.exe file in the c:\balena-cli folder. It contains three sub-directories: drivelist, ext2fx, and resin-cli-visuals; and two files with no extensions: balena and xdg-open.

Do I need to rename the balena file with an “.exe” extension?



Hey there @pdsavas,

Could you confirm that you downloaded the version for windows,

It should contain the balena.exe inside.

Let me know how it goes,



I may have downloaded the wrong file; I grabbed:

Now I feel dumb. :slight_smile:

I’ll download the file you linked and try again.




I’ve hit another snag, this time when trying to push the code:

E:\Software Installation\Raspberry Pi\balenaDash>balena push balenaDash
[Info] Starting build for balenaDash, user psavas
[Info] Dashboard link:
[Info] Building on arm02
[Info] Pulling previous images for caching purposes…
[Success] Successfully pulled cache images
[Error] Some services failed to build:
[Error] Service: main
[Error] Error: Cannot locate specified Dockerfile: Dockerfile
[Error] Not deploying release.
Remote build failed

I don’t think I missed a step. I changed the environment variable as instructed, and then attempted pushing the code I downloaded from GitHUB, which downloaded as “”

What now?

Sorry for all the trouble,


@dansku, I am resending this in case you had not seen it.



Hey @pdsavas sorry for missing your previous message.

Just to confirm, you downloaded, unzipped the file into a folder,
then did balena push balenaDash from within that new folder?

The folder should contain the Dockerfile file.

Could you confirm that for me?

Thank you



Wow; I feel like the dumbest person on the face of the Earth right now.

I had downloaded the file, but had not unzipped it into the previously-created balena-cli directory. I just did that, and tried the push again, and it worked!

C:\balena-cli>balena push balenaDash
[Info] Starting build for balenaDash, user psavas
[Info] Dashboard link:
[Info] Building on arm01
[Info] Pulling previous images for caching purposes…
[Success] Successfully pulled cache images
[main] Step 1/5 : FROM petrosagg/resin-wpe:raspberrypi3-30c7465
[main] —> 4b90e1c6a06a
[main] Step 2/5 : COPY udev-rules/ /etc/udev/rules.d/
[main] —> a5bec4045580
[main] Removing intermediate container bd5482576bae
[main] Step 3/5 : COPY wpe-init /wpe-init
[main] —> 75eb4be1792a
[main] Removing intermediate container 66eaf9d89885
[main] Step 4/5 : RUN chmod +x wpe-init
[main] —> Running in 48e7a4f537ff
[main] —> 1c141c5f2963
[main] Removing intermediate container 48e7a4f537ff
[main] Step 5/5 : CMD /wpe-init
[main] —> Running in 8cab4481158b
[main] —> 53e732f43719
[main] Removing intermediate container 8cab4481158b
[main] Successfully built 53e732f43719
[Info] Uploading images
[Success] Successfully uploaded images
[Success] Release successfully created!
[Info] Release: 33a57b4cda4b3d6df1c40b1f96b581b7 (id: 739669)
[Info] ┌─────────┬────────────┬────────────┐
[Info] │ Service │ Image Size │ Build Time │
[Info] ├─────────┼────────────┼────────────┤
[Info] │ main │ 97.45 MB │ 41 seconds │
[Info] └─────────┴────────────┴────────────┘
[Info] Build finished in 51 seconds

./\ ) \ | / / | / > / j < _\ _.-' : ``. \ r=._\.
<\\_ \ .-.
\ r-7 -. ._ ' .
`, -.7 7) )
/ | ’ / `-.

|| .’
\ (
>\ >
,.-’ >.’

I am now looking at the YouTube sign-in screen, so I guess it’s on to the next part of the tutorial.

Thank you again for your help, and most of all, your patience with this dumb old man.



I am glad it worked out @pdsavas,

We all make these silly mistakes all the time.
Anything we are here to help!




I have one more question for you if you don’t mind: How can I enable WiFi on the Pi? I got it working with a Google Slideshow, but I’d rather not have it connected with an Ethernet cable.

Thanks again,



The easiest way to configure WiFi on the RPi is when you generate the device image.

Let me know if this works for you.




Since when have I ever done it the easiest way? :smile:

Is there a way to change this on an active device? I’d rather not have to go through the setup all over again.



Hey @pdsavas,

You can insert the SD Card in your computer and a resin-boot partition will open.
Inside the partition, you will find a folder called system-connections where there is a sample file with .ignore extension. Copy that, remove the .ignore from the filename, and edit to add your wifi credentials.

Alternatively, if you connect to the device over ethernet, log into the host OS, then change the file in /etc/NetworkManager/system-connections. Change the example file mentioned above with a text editor such as vim and then restart the device.

This should do it :wink:



That took care of it.
Thank you again for your help and especially your patience!



@pdsavas I am glad it worked out!

Anything we are here to help!

Cheers :wink:


@dansku Hi I’m trying to push the balenaDash and it is not working. Everything is written correctly. The appfolder is where I want it to be.
I am a newbie so this is pretty much the first project for me…
Everything is runnin’ to the point where I wanna push the code.

"XX-MBP:~ XX$ sudo balena push balenaDash

| Packaging the project source…No such file or directory: /Users/XX/Library/Containers/"

What am I doing wrong? Thank you


Hi ruerdo
It looks like you might be calling balena push from outside of the project folder.
Please cd into the project folder and try again.


I seem to be having the same issue that is described above, but when I place the SD card into my computer to look for the folder called system-connections, but I can’t seem to find it. Alternatively, I did try changing the file via logging into the host OS, but was unfortunately unsuccessful there too.

Any other suggestions as to how I might be able to get this resolved would be greatly appreciated.

P.s. Just so you know I am using a Raspberry Pi 3 B+, and a Macbook Pro.