Electron wants to flash programs only OTA not serial

You want to install the CLI globally so you can access it from anywhere. For Windows there’s an installer, but doing npm install -g particle-cli should do the trick as well.