0

I have to acknowledge being an old timer U*ix system administrator. Software to be used by everybody had two possible locations:

/usr/bin /usr/local/bin

The best example is gcc and family.

Now I find myself in a new world. My node installation lives in:

/home/david/.nvm/versions/node/v14.7.0/bin/node

So I added the corresponding directory to my path.

How/where should the node package be installed? It would be done and owned by root, of course.

1 Answers1

0

You want to install NodeJS to /usr/bin. Installing an application to a user's home directory and giving others access to that directory is not considered best practice, and should only ever be done for very short-term requirements. You'd also need to grant the other users read access to that directory, which has the potential to cause issues.