mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 13:45:56 +03:00
The module for `fnm` did not set the path for Windows correctly. I fixed it by searching for the used `Path` variable (or `PATH`) and use that instead. Works now better on Windows without breaking other OSes. |
||
---|---|---|
.. | ||
fnm.nu | ||
README.md |
Fast Node Manager (fnm)
Enables Nushell support for Fast Node Manager (fnm), a fast and simple Node.js version manager. Based on this GitHub issue and fnm-nushell.
Requires fnm
to be installed separately.
Install
Clone this repo or copy the fnm.nu
file wherever your prefer to keep your Nushell scripts.
Edit your Nushell config file ($nu.config-path
) and add the line:
use /path/to/fnm.nu