Minimal nodejs version manager made for Fish.
- Minimal (new install will overwrite previous install)
- Install (from mirror)
- Remove
- Uses xdg base directory
Wanted a minimal and very simple nodejs installer when using fish so wrote this.
Only tested on Mac but tweaking uname
flags should make it work out of the box with linux.
sha256sum
$ sha256sum --version
sha256sum (GNU coreutils) 9.0
fzf
$ fzf --version
0.27.2
cd $HOME/.config/fish/functions
git clone https://github.com/dohjon/fish-nvm.git
echo 'set fish_function_path $HOME/.config/fish/functions/nvm $fish_function_path' >> $HOME/.config/fish/config.fish
# verify installation
nvm -h
# nvm -i
nvm --install
# nvm -p
nvm --purge
# nvm -h
nvm --help