How to use “@” in PowerShell with npm

I tried to install @electron-forge/cli in the powershell with npm (npm install --save-dev @electron-forge/cli) following the electron quick start tutorial

But whenever I try to run that, it just says Unknown token in sourcecode […] npm install --save-dev <<< @electron-forge/cli

What am I missing?

I’ve already looked it up: No, I cant omit the @ (What is the meaning of the “at” (@) prefix on npm packages?)

Other commands with an @ like npx create-electron-app@latest my-app do work


I found out I can also just use quotes and it works just fine

Thanks for your effort anyway!