tj / n

Node version management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Node.js 14.21.4 ?

xet7 opened this issue · comments

n supports the user using node builds from other sources if there is meta information about available builds in the same layout that Node uses. This is done by the user defining N_NODE_MIRROR:

There is not support for targeting specific versions specially, which I think is what you are asking.

@shadowspawn

Currently when I type sudo n 14.21.3 then it installs from original source.

Is it possible to update n so that if I type sudo n 14.21.4 then it would install that version, without defining custom source?

Otherwise, I would have to define custom source in very many places.

@shadowspawn

I use n with Linux at x64, arm64, s390x and risc-v.

Is it possible to update n so that if I type sudo n 14.21.4 then it would install that version, without defining custom source?

No. The current model is that n refers to a single authoritative web source. The user can change that authoritative source. But n does not maintain a list of alternative sources.

There is a somewhat similar situation with Alpine builds. The user needs to opt-in to a source which has alpine builds available. See #648