Brew Install Cli?


#1

Is it possible to brew install or brew cask install particle-cli instead of using bash / curl? I would like to be able to remove / manage through brew if at all possible instead of just dumping this on my hard drive. I see a brew cask called particle-dev from particle.io, but I’m not sure what all this contains.


#2

Is it possible to brew install or brew cask install particle-cli

no, not at this time but it’s on the list of things we’d like to do.


#3

Actually once I realized I just needed to npm install -g particle-cli it wasn’t a problem at all. Skipped the bash + curl altogether.


#4

yep, particle-cli is a node.js app and can be installed normally using npm. we call it the “advanced” install option since it requires the end-user to be familiar w/ configuring and managing node.js in their local environment.

we recommend using the installer script (linux & mac) / app (windows) as it also installs some prerequisites (openssl, dfu-util) and provides a self-managed node.js environment so you don’t need to worry about how to get node.js working locally.

more info available in the docs here:

https://docs.particle.io/tutorials/developer-tools/cli/