8

I had installed & uninstalled node on Mac OS with multiple ways using homebrew, nvm etc

Now I don't remember which technique I had used last time to install.

Is there a way to find our how node was installed or which tool is used to install node ?

1
  • 3
    nvm ls should give you any installed node versions through nvm. if not, then you have directly installed node
    – boxdox
    Commented Jul 6, 2021 at 5:39

1 Answer 1

6

To check installed packages with brew you can try

brew deps --tree --installed

Then you can search for your package to check if installed by brew or not. enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.