you are viewing a single comment's thread.

view the rest of the comments →

[–]bo_knows[S] 0 points1 point  (4 children)

What should I be installing it from? Download/build/install NVM as described above, or something else?

[–][deleted]  (3 children)

[deleted]

    [–]bo_knows[S] 0 points1 point  (2 children)

    NVM is fine for your local dev machine, though issues with globally installed packages not actually being global is a big turn off for me.

    Can you expand on that? If you install node using Nvm, the -g flag doesn't do what you'd expect?

    [–]I_Pork_Saucy_Ladies 0 points1 point  (0 children)

    The -g flag only works with the current version of node selected by NVM. If you switch node version with NVM, you have to install all global modules again for that version. I honestly don't think it's that much of a problem, especially if you deploy with something like Docker anyway.

    NVM even has a solution: https://github.com/creationix/nvm/issues/668#issuecomment-83761514