-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"fnm": patch | ||
--- | ||
|
||
Document how to use nightly builds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |