I recently migrated and older mac to a newer one running BigSur 11.5.1 (apple M1 chip) following macs process to migrate all files from old to new computer. I had Particle CLI in the old mac, and continued to work in the new one without issues (apparently). It seems the mac os migration process moved and installed all necessary files.
After running a few basic commands (particle serial wifi, etc) the CLI was asking me to update to the latest version, so I did following the instructions. Some errors appeared in the screen (sorry I did not catch that log) so I tried this command
npm uninstall -g particle-cli".
Apparently, I did uninstall something.
then I run
"bash <( curl -sL https://particle.io/install-cli )" and it seems that nothing is installed. This is the log I get:
:::: Installing the Particle CLI for darwin to "/Users/fabioenriquez/bin/particle"
Traceback (most recent call last):
File "<string>", line 1, in <module>
gunzip: (stdin): unexpected end of file
:::: Installing dependencies
:::: The Particle CLI has been installed to: "/Users/fabioenriquez/bin"
:::: Your "/Users/fabioenriquez/.zprofile" file has been updated to properly set $PATH
:::: If you previously installed the CLI with npm, run "npm uninstall -g particle-cli"
node version is v.12.14.1 and npm is 6.13.4. I also updated homebrew to 3.2.6.
Appreciate your help