N: ability to install node/io master or tags

Created on 16 Dec 2015  路  4Comments  路  Source: tj/n

I think it would be a nice feature to install the master (or any branch/tag) of node using n

There is a segfault issue on OS X here that requires a master build to work around:
https://github.com/nodejs/node/issues/4091

I apologize in advance if this functionality already exists :+1:

Most helpful comment

Using the master build would require building the source. While this is possible, it would make the entire installation process very slow. Also, if a machine does not have all the prerequisites needed to build the source, the functionality will be useless.

An alternative would be to add an option to install from the nightly releases, which are built every 24 hours from the master branch. Would that solve your problem?

Example usage may be:
n nightly grabs the latest nightly release
n nightly <today|latest> also grabs the latest nightly release
n nightly <back> grabs the nightly release days from today (if back is 1, it will grab the nightly release from right before the latest one)

All 4 comments

Using the master build would require building the source. While this is possible, it would make the entire installation process very slow. Also, if a machine does not have all the prerequisites needed to build the source, the functionality will be useless.

An alternative would be to add an option to install from the nightly releases, which are built every 24 hours from the master branch. Would that solve your problem?

Example usage may be:
n nightly grabs the latest nightly release
n nightly <today|latest> also grabs the latest nightly release
n nightly <back> grabs the nightly release days from today (if back is 1, it will grab the nightly release from right before the latest one)

That would be amazing. I forgot n installs a compiled binary

I just (finally) figured out now to install a nightly:

PROJECT_NAME="node" PROJECT_URL="https://nodejs.org/download/nightly/" n project 6.0.0-nightly201602102848f84332

Maybe put this in the README? It doesn't display in the installed versions list though. :/

However: There are talks of changing (eliminating?) the nightly build. https://github.com/nodejs/node/issues/4856

This issue has not had any activity in over six months. It isn't likely to get acted on due to this report.

Feel free to open a new issue if it comes up again, with new information and renewed interest.

Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

samholmes picture samholmes  路  5Comments

GeoffreyBooth picture GeoffreyBooth  路  8Comments

daiando picture daiando  路  4Comments

mafischer picture mafischer  路  7Comments

Olgagr picture Olgagr  路  4Comments