guarinogabriel / Mac-CLI

 macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
MIT License
8.86k stars 333 forks source link

Update install script to detect externally installed Node #109

Closed chris54721 closed 7 years ago

chris54721 commented 7 years ago

The install script should check whether the node command exists instead of checking if the file exists at the default location. This prevents Node from being installed through brew when using an external version manager such as nvm.

On a side note, you may want to do this for the other executables as well.

guarinogabriel commented 7 years ago

@chris54721 Thanks for your contribution!