Stuck at Npm install

Struggling beginner
I have the Balena Logo showing on the Pi 3b+ screen.
Point one: Do I use the dashboard on the Balena site or should I see a dashboard on the Pi ?
Point 2: When entering npm install balena-cli -g It tells me npm is not installed. Where do I go from here ?
Any help appreciated

The dashboard is not displayed on the RPi screen, but on our website indeed:

To use npm you will need Node.js installed on your system:

Thank you for that.
So where do I enter the node.js installation command ?

Are you using Windows or Mac OS?

Sorry I should have said.
Its windows 10

You can install Node.js from the MSI installer in that case. After you install it you need to open a cmd prompt and enter the npm install command.

I have done so and now getting loads of errors and warnings when entering npm install balena-cli -g
All this is above me, so I am giving up.
Thank you for your time and patience

I meant to add the errors

C:\WINDOWS\system32>npm install balena-cli -g
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
C:\Users\pict9\AppData\Roaming\npm\balena -> C:\Users\pict9\AppData\Roaming\npm\node_modules\balena-cli\bin\balena

drivelist@6.4.6 install C:\Users\pict9\AppData\Roaming\npm\node_modules\balena-cli\node_modules\drivelist
prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=x64 platform=win32)

C:\Users\pict9\AppData\Roaming\npm\node_modules\balena-cli\node_modules\drivelist>if not defined npm_config_node_gyp (node “C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python37\python.EXE -c import sys; print “%s.%s.%s” % sys.version_info[:3];
gyp ERR! stack File “”, line 1
gyp ERR! stack import sys; print “%s.%s.%s” % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
gyp ERR! System Windows_NT 10.0.18356
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild”
gyp ERR! cwd C:\Users\pict9\AppData\Roaming\npm\node_modules\balena-cli\node_modules\drivelist
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN balena-request@10.0.1 requires a peer of balena-auth@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN resin-register-device@5.0.0 requires a peer of resin-request@^9.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: macmount@1.0.0 (node_modules\balena-cli\node_modules\macmount):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for macmount@1.0.0: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

npm ERR! errno 1
npm ERR! drivelist@6.4.6 install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the drivelist@6.4.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pict9\AppData\Roaming\npm-cache_logs\2019-03-25T15_50_43_963Z-debug.log


Hey @TamP,

As an alternative, you can download the standalone version of balena-cli which is ready to go. Just head to and download the latest windows version.

Then you can unzip it on, for example, C:\balena in which you will then run on the terminal C:\balena'\balena.exe login to authenticate with the service, and go from there.

To push code to the balenaCloud, just go to the source-code folder for the project and run C:\balena'\balena.exe push <appName>.

Let me know if you still have issues


I followed your clear and concise instruction. Thank you
After authenticating I am not sure what to do now
I have no idea what code to push to the cloud.
This is a new world for me. I thank you again in advance

Hey @TamP,

I have recorded today a video showing how to install Balena-CLI and deploying the first project with balena on Windows. As soon as I finish editing the video I will send you a link to the video. I believe it will help answering most of your questions.


@TamP, here you go

Hope this helps you configuring the balena-cli on your device.