hey all
we recently updated the CLI wrapper binaries that Workbench uses to facilitate certain commands (Particle: Cloud Compile
, Particle: Install Library
, etc) in order to make use of a newer version of Node.js. as of Workbench Core v1.2.0
these new wrapper bins will be included by default.
the CLI will attempt to upgrade itself regardless and you may experience some bumps in the process. if you hit problems, the recommended fix is:
if you’ve installed the Particle CLI stand-alone
- run the updated CLI installer
- open a terminal (on windows, powershell or cmd.exe)
- run
particle update-cli
in the terminal you’ve launched - open VSCode
- run the
Particle: Update CLI
command
if you’ve only ever used the Particle CLI within Workbench
- make sure you update to the latest (
v1.2.0
as of posting this) - run the
Particle: Update CLI
command
in both cases, you should see your CLI instance updated - to confirm, check the local version of node:
on linux & mac:
~/.particle/
should include a directory named like node-v8.15.0-<darwin / linux>-x64
on windows:
C:\Users\<you>\AppData\Local\particle
should include a directory named node-v8.15.0-windows-x64
please post to this thread and share what you’ve experienced so we can be sure to smooth things out for next time.
thanks