Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Explain how to make npm -g installs work on Ubuntu. #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkohler
Copy link

@mkohler mkohler commented May 12, 2018

Explain how to configure npm for global installs, for Linux users who don't have lots of npm experience.

@jdhorwitz
Copy link

Would a link to using NVM be preferable in either addition or replacement? Solves this issue with additional benefits.

@mkohler
Copy link
Author

mkohler commented May 23, 2018

Looking into this a bit deeper, it looks like we need separate instructions for the different versions of Ubuntu. Just considering LTS releases, Ubuntu 16.04 requires the nodejs-legacy package, but 18.04 doesn't have such a package. The Ubuntu 14.04 LTS nodejs package is v0.10.25, which I don't think is compatible with Elm.

@jdhorwitz I haven't used NVM. Would that be a good choice for someone on Ubuntu 14.04? And for the other Ubuntu versions, if you're not already an NVM user, and you are just trying to install Elm, what are the benefits of using NVM to install node?

I couldn't find a resource that says which versions of node are compatible with Elm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants