Files
dotfiles/dot_config/nushell/nu_scripts/modules/fnm
Cian Hughes 896af887ca Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows)
and improves grepability with neovim/telescope
2024-11-07 13:52:17 +00:00
..
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00: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