mirror of
https://github.com/tj/n.git
synced 2024-12-01 14:41:07 +01:00
0f590a4ef2
--lts will display latest LTS version lts will install latest LTS version Node LTS releases use "a naming convention based on the Periodic Table of Elements [...] in alphabetical order", as announced here: https://nodejs.org/en/blog/release/v4.2.0/ LTS versions have their own folder in nodejs' dist folder, e.g.: https://nodejs.org/dist/latest-argon/ To retrieve latest LTS' latest version, we search for and fetch that folder. We get the semver number from the first file that holds it. Then we can fetch the trallbar. |
||
---|---|---|
.. | ||
n |