Skip to content

Commit

Permalink
Create docs/nightly.md (#1204)
Browse files Browse the repository at this point in the history
* Create docs/nightly.md

fixes #610

* Create sour-pens-lay.md

* PR suggestion

Co-authored-by: Gal Schlezinger <[email protected]>

---------

Co-authored-by: Gal Schlezinger <[email protected]>
  • Loading branch information
JLarky and Schniz authored Aug 11, 2024
1 parent de1fff8 commit 19bffe5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sour-pens-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

Document how to use nightly builds
26 changes: 26 additions & 0 deletions docs/nightly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Working with Node nightly builds

fnm doesn't give you any shorthands to install nightly builds, but you can
do that by manually passing a "dist mirror" with the `--node-dist-mirror` flag.

## Example usage

Here's an example of installing Node 23.

To get a list of available versions run this:

fnm --node-dist-mirror https://nodejs.org/download/nightly/ ls-remote

To use and install nightly version run this:

fnm --node-dist-mirror https://nodejs.org/download/nightly/ use 23
# or
fnm --node-dist-mirror https://nodejs.org/download/nightly/ use v23.0.0-nightly202407253de7a4c374

Once you installed it you would be able to see that version in you list:

fnm ls

And use it without providing `--node-dist-mirror` flag:

fnm use 23

0 comments on commit 19bffe5

Please sign in to comment.