Can't open CLI from command prompt

I have intalled node, python, dfu, microsoft build. I have followed the commands for installing the cli and connected my device in listening mode, when I type “particle setup” to open the spark cli on the command prompt I get the error
" ‘particle’ is not recognized as an internal or external command,
operable program or batch file."
what could be wrong with the program?

What about the following commands:

  • npm
  • node
  • dfu-util


I get the error
at repl:1:1
at REPLServer.defaultEval (repl.js:132:27)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer. (repl.js:279:12)
at REPLServer.emit (events.js:107:17)
at REPLServer.Interface._onLine (readline.js:214:10)
at REPLServer.Interface._line (readline.js:553:8)
at REPLServer.Interface._ttyWrite (readline.js:830:14)
at ReadStream.onkeypress (readline.js:109:10)

For which command?

from the last one

Although I think I might have messed up the DFU driver install, the last part to be more specific. The part that says “Adding DFU Util to windows path”. I dunno which directory I have to add it to.

If you are down for a quick remote desktop session later today (not sure your timezone) shoot a quick email to mentioning this community post and I’ll help you out