Trouble with CLI on Mac

Hello you beautiful people,

I have gotten a new computer and wanted to jump back into making lack luster projects with my photon. I want to install all the tools on the new (to me) computer but am running into issues.

The issue comes when I type
npm install -g particle-cli

I get this error code after the command line does its thing:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/usr/local/Cellar/node/12.5.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/Cellar/node/12.5.0/lib/node_modules/particle-cli/node_modules/@serialport/bindings
gyp ERR! node -v v12.5.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules/particle-cli/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @serialport/bindings@2.0.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @serialport/bindings@2.0.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/MacHome/.npm/_logs/2019-07-08T01_35_58_849Z-debug.log

from what i’ve seen it seems like a permissions issue. Any insight is greaty appreciated.
Mac OS Mojave 10.14.5
Homebrew version - 2.1.6
Node version - 12.5.0

What if you try:

sudo npm install -g --unsafe-perm particle-cli

I tried that to no avail.

Turns out i was able to solve it using the particle getting started docs. I cannot find the curt that i called in the command line to reference here but it worked without an issue.

Thanks for the help