Replacing system-wide `nodejs` by another version managed by `nvm`
Some legacy codes are not compatible with latest nodejs. nvm
helps with this situation to provide older stable version.
Uninstall system-wide nodejs
and install nvm
via package management.
Config fish-shell
:
1 | function nvm |
Take effect immediately:
source ~/.config/fish/config.fish
An extension to fish-shell
is bass
.
Bass makes it easy to use utilities written for Bash in fish shell.
An extension to homebrew
is cask
.