N: Installing nightly?

Created on 22 Sep 2016  路  14Comments  路  Source: tj/n

It would be great if we could install nightlies, you can find the repos here. https://nodejs.org/download/nightly/

Especially to get async await, and more people testing these. Developers are also asking for feedback.

https://www.reddit.com/r/node/comments/53vhyk/please_try_a_new_inspect_commandline_switch/

enhancement

Most helpful comment

I think it should be easier than that... n lts installs the nightly copy, we need n nightly and n test and the NODE_MIRROR method does not work with n. Just running n causes a problem with grep.

All 14 comments

Came to check if this was possible for exactly the same reason!

This is a great idea! If you're able to send in a PR for this, I'll merge it. 馃槃

This'll work, although n has a hard time displaying it in ls

NODE_MIRROR=https://nodejs.org/download/nightly/ n 7.0.0-nightly20160930f5d997c476

Thanks, @jbielick! I've added a link to your solution at the top of the README while we work on building this feature directly into n. 馃槃

You can use @jbielick solution for the beta builds as well NODE_MIRROR=https://nodejs.org/download/test/ n v7.0.0-test2016100609987d242b (which would also be nice to add)

I think it should be easier than that... n lts installs the nightly copy, we need n nightly and n test and the NODE_MIRROR method does not work with n. Just running n causes a problem with grep.

@qw3rtman any news on this one?

I am having a go at this in a fork and using syntax like nightly/<version>, influenced by nvs. If it works out sanely I'll look at a PR.

I have a heavily modified fork with versions support for the binary download folders such as nightly, test, chakracore-release, et al. I am pleased with the syntax. e.g.

nvh install lts
nvh install nightly/8
nvh install chakracore-release/latest
nvh install test
$ nvh
    chakracore-release/v10.6.0
    nightly/v8.9.1-nightly20171104a815e1b6a2
    node/v8.11.4
  慰 test/v11.0.0-test8ac916309b

Willing to start afresh and put together a pull request within existing commands if still interest from an n maintainer. Fairly extensive changes to support the new version patterns, and sorting reworked to cope with more filename patterns. Otherwise, fitted in reasonably well.

@JohnRGee are you still working on that ? because i wanted to implament it but your looks working already?

I released support for nightly and the other binary download folders in nvh v3.0.0. I don't have any further work planned in that area. (Feedback welcome on workflow of using nvh for installing nightly for real work, I only check install works.)

Update: it will be a while before nightly gets considered for n. If readers would like to give it a try in nvh then I am interested in feedback about how useful it is in practice.

Prerelease available via npm i n@next for v6. Release notes: https://github.com/tj/n/releases/tag/6.0.0-0

Was this page helpful?
0 / 5 - 0 ratings