Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
(Solved, it wasn't a nvm issue, look comments) Hello, Ijust installed nvm on a linux machine. I have two users that should be able to run node scripts. The readme says "nvm is a version manager for node.js, designed to be installed per-user ..." so I thought cool, I just install it for both these users. First installation went without problems. Now on the 2nd user, I tried to run the install script with curl but I get: nvm is already installed in /home/firstuser/.nvm When I try to run nvm on the 2nd user, I get nvm: command not found Now I copy/pasted the three nvm lines from firstuser/.bashrc to seconduser/.bashrc and made the paths point to the firstuser. This feels very wrong but it's working: export NVM_DIR="/home/firstuser/.nvm" ... Shouldn't I be able to simply install nvm on the second user? What would be the right way to do that? Am I misunderstanding how nvm can/should be used with more than one user? Thanks for reading.