Command Line Reference CLI [Solved]

I’m trying to set my spark up so I can access the LEDs (from the tutorial) using terminal on my Mac. I’m trying to follow the Command Line Reference, but sadly can’t get any further than the first section which is installing Node.js and logging in as I’m fairly new to Terminal.

I’ve attached a screen grab of my Terminal as I don’t understand what its saying. I don’t know if the node software is installed, or if I have installed it twice?? However, if it is installed I cannot get past: “spark cloud login”

try sudo npm install -g spark-cli

1 Like

Thanks, that worked fine :smile: Maybe the command line reference should be edited to outline this.

So does “sudo” mean logging in as an administrator?

1 Like

Sorry about that! I added a mention of sudo here:

Thanks,
David