I’m trying to upgrade the particle cli in my windows 10 cmd prompt.
I was able to upgrade in the Node.js cmd prompt by typing npm upgrade -g particle -cli
and now the Node.js cmd prompt answer 1.18 when I type particle --version.
But in my windows cmd prompt, if I type particle --version, I’m still at 1.16 and the upgrade command does nothing (no output, no errors).
What do I have to do to update the windows cmd prompt to use the latest version of particle-cli?
Thanks
It seems as though you’ve got two separate versions installed. Personally, I’d remove both, then use the auto-installer for Windows. That should also auto-update it in the future If you don’t want to use the auto-installer, then still remove both, and install it from the Windows command prompt, rather than the node.js one.
If you look for ‘particle’ under your installed programs, can you remove it there?
Can you try uninstalling it from the command prompt in which you’re seeing that version (the Windows one in this case)?