# Particle-cli incompatible with newest Node (npm method)

**URL:** <https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000>\
**Category:** Troubleshooting\
**Created:** [July 10, 2019, 4:13am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000 "2019-07-10T04:13:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nimonster](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nimonster/32/2836_2.png) [@Nimonster](https://community.particle.io/u/Nimonster)\
**Post date:** [July 10, 2019, 4:13am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000/1 "2019-07-10T04:13:54Z")

</div>

I tried to run a command on the CLI after not using it for a couple of months. It said that a new version was available and also please reinstall CLI again. So I tried that but I get errors. See this link for the terminal output. As you can see, I updated to the newest NPM as well. Why would this happen to me?

[https://pastebin.com/jDnLkueP](https://pastebin.com/jDnLkueP)

Mac OS 10.14.3

---

<div class="post-metadata">

**Author:** ![armor](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/armor/32/18398_2.png) [@armor](https://community.particle.io/u/armor)\
**Post date:** [July 10, 2019, 9:44am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000/2 "2019-07-10T09:44:36Z")

</div>

What CLI command did you use to update it? particle update-cli?  
Latest version is 1.42.0  
I am on mac OS 10.14.5 and I can’t reproduce the issue

---

<div class="post-metadata">

**Author:** ![Nimonster](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nimonster/32/2836_2.png) [@Nimonster](https://community.particle.io/u/Nimonster)\
**Post date:** [July 11, 2019, 12:08am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000/3 "2019-07-11T00:08:25Z")

</div>

I ran npm install -g particle-cli

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [July 11, 2019, 1:21am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000/4 "2019-07-11T01:21:03Z")

</div>

To update via `npm` you’d rather use `npm update -g particle-cli`, but with a fairly recent version you should be abelt to use `particle update-cli` as @armor mentioned already.

---

<div class="post-metadata">

**Author:** ![Nimonster](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nimonster/32/2836_2.png) [@Nimonster](https://community.particle.io/u/Nimonster)\
**Post date:** [July 11, 2019, 2:52am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000/5 "2019-07-11T02:52:50Z")

</div>

completely removed node. Manually removed node-installed packages. Reinstalled the most recent version of node. Ran npm install -g particle-cli. Still same errors. Is particle-cli not compatible with node 12.6?

My output (pretty much same as before): [https://pastebin.com/Agsh0xDJ](https://pastebin.com/Agsh0xDJ)

---

<div class="post-metadata">

**Author:** ![Nimonster](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nimonster/32/2836_2.png) [@Nimonster](https://community.particle.io/u/Nimonster)\
**Post date:** [July 12, 2019, 7:19am UTC](https://community.particle.io/t/particle-cli-incompatible-with-newest-node-npm-method/51000/6 "2019-07-12T07:19:44Z")

</div>

Downgraded Node to 10.16. It installs fine now. Please add support for the newest Node.
