2
$ sudo apt-get install nvm
…
E: Unable to locate package nvm

Installation instructions usually involve running random scripts from GitHub (curl https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh | bash), instead of using the well-known apt-get, yum or equivalent for other distributions.

Why isn't nvm packaged for Ubuntu?

I guess there must be a technical reason since nvm is a common piece of software, like a licensing issue or something like this, so I'm curious to know why it cannot be packaged. I searched online for a package and for a reason, but didn't get any useful result.

2
4

As per https://github.com/creationix/nvm/issues/761, it seems that the author(s) of nvm (the Node.JS Version Manager) strongly opposes to packaging nvm using distribution's standard package management tools, and prefer to roll their own solution.

This most likely didn't motivate people to package the tool.

1
  • Upstream does not want to package, and I don't blame them to be honest. I think it would be rather trivial to package if you were interested, a ppa would be trivial to maintain. – Panther Jul 11 '17 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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