nu_scripts/modules/fnm
Piepmatz 85da8c2fb5
Use Existing Path Env Var for FNM (#632)
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.
2023-10-07 16:25:15 +02:00
..
fnm.nu Use Existing Path Env Var for FNM (#632) 2023-10-07 16:25:15 +02:00
README.md Add support for fnm (#593) 2023-09-08 06:18:55 -05:00

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