Electron-builder is not recognized


I just install electron-builder to my devDependencies but when i run it shows:

‘electron-builder’ is not recognized as an internal or external command,
operable program or batch file.

my install command:
npm install --save-dev electron-builder

My package.json
"buildWin": "npm run packWin && electron-builder \"dist/win/test-win32-x64\" --platform=win --out=dist/win --config=builder.json"

  "devDependencies": {
    "asar": "^0.11.0",
    "electron-builder": "^3.2.0",
    "electron-packager": "^5.2.1",
    "electron-prebuilt": "^0.37.2"


I’m with the same problem. the electron-packager works but the electron-builder not.


I’m using this: node node_modules/.bin/build (Then you can just stick your command line arguments after like: node node_modules/.bin/build --dist --platform darwin win32 --arch all)

It’s something I spotted in some of the example projects after running into the same trouble


Hey can someone look into this issue I am facing, I am not creating a new thread here as it is already on stackoverflow