Clean install Mac OS and reinstall Particle-cli with errors?

The old particle-cli / spark-cli install forum could be outdated - produces lots to errors on new Mac OS.
I download Xcode in order to make brew work.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

I don’t want to take risk messing up particle installation, make Mac run slow, and mess up other arduino USB. Can anyone show me how to install basic Particle-Cli easy as 1-2-3?

I see lots of problems on clean install:

serialport@3.1.2 install /usr/local/lib/node_modules/particle-cli/node_modules/serialport
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download: https://github.com/voodootikigod/node-serialport/releases/download/3.1.2/serialport-v3.1.2-node-v51-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for serialport@3.1.2 and node@7.0.0 (node-v51 ABI) (falling back to source compile with node-gyp)

Other errors:

sudo port install libusb-devel git-core
Password:
sudo: port: command not found

I would suggest trying po-util. It not only installs particle-cli, but it also installs tools to easily develop locally.

On second thought, it sounds like particle-cli installed fine. What happens when you do:

particle

?

That port command should not be necessary. That’s a command to install using MacPorts, and you installed Homebrew instead, so you don’t need the port command.