Cli not usable on fedora 33 / urgent

i somehow “killed” my device. my teacher told me i should enter 2 commands in the cli:

particle usb dfu
particle flash --usb tinker

the first command says “ok”, the second fails:
[root@localhost oli]# particle usb dfu
Done.

[root@localhost oli]# particle flash --usb tinker -v
Error writing firmware: Command failed: dfu-util -l
/bin/sh: dfu-util: Kommando nicht gefunden.

VError: Error writing firmware: Command failed: dfu-util -l
/bin/sh: dfu-util: Kommando nicht gefunden.

    at /root/.particle/node_modules/particle-cli/dist/cmd/flash.js:208:13
    at async CLI.runCommand (/root/.particle/node_modules/particle-cli/dist/app/cli.js:160:7)
    at async CLI.run (/root/.particle/node_modules/particle-cli/dist/app/cli.js:190:14)
caused by: Error: Command failed: dfu-util -l
/bin/sh: dfu-util: Kommando nicht gefunden.

    at ChildProcess.exithandler (child_process.js:303:12)
    at ChildProcess.emit (events.js:311:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:311:20)
    at Pipe.<anonymous> (net.js:668:12)

Kommando nicht gefunden means: command not found
there is no “dfu-util” but i have dfu-tool

unfortunately, this is very urgent :confused:

try re-installing using the instructions here:

also, here’s what we need to help troubleshoot:

and lastly, it doesn’t hurt to try a manual reset:

sorry for the bumps :pray: hope it helps :+1:

1 Like

thanks, i was not aware that i had to install dfu-util myself. thought thats done with the shell script i downloaded.

It is for Ubuntu. With other distributions you must install it with the package manager.


If you’re interested in an unnoficial tool that makes it incredibly easy to install and manage Workbench/CLI tools from the command line I highly recommend neopo, a utility that I maintain.

You can install it on most distributions with the following:

bash <(curl -sL neopo.xyz/install)

Creating, configuring, compiling, and flashing a project locally is very simple with neopo:

neopo create myProject
neopo configure <platform> <version> myProject
neopo build myProject
neopo flash myProject

One of the benefits of neopo is that the particle command is encapsulated so you can simply use the following without worrying whether you have multiple copies of particle installed on your system:

neopo particle
1 Like