:::: Installing the Particle CLI for darwin arm64
:::: Downloading CLI version 3.43.1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 39.8M 100 39.8M 0 0 23.9M 0 0:00:01 0:00:01 --:--:-- 23.9M
:::: The Particle CLI has been installed to: "/Users/kristian/bin/particle" and this directory
:::: has been added to your $PATH
** YOU MUST CLOSE AND REOPEN YOUR TERMINAL BEFORE CHANGES TAKE EFFECT **
First check permissions of the binary: ls -l ~/bin/particle
it should have execution permissions, also the owner should be the user: -rwxr-xr-x 1 <user> staff 120410416 Sep 8 16:08 /Users/<user>/bin/particle
If the permissions are wrong then use: chmod +x ~/bin/particle
Check if the binary is not in quarantine: xattr -l ~/bin/particle -> should not show com.apple.quarantine
Commonly, if a Mac user downloads our binary from the browser this might fall in quarantine. That’s why it’s important to use just the bash <( curl -sL https://particle.io/install-cli ) at least on Mac. I know you followed this path.
Please try running a debug version of the CLI like this:
DEBUG_PKG=2 ./particle-cli-macos-arm64
Share the output as a text file. There’s nothing private in that output, just the names of the files bundled in the executable so we can tell where things get stuck.