Skip to content

Instantly share code, notes, and snippets.

@calle2010
calle2010 / Use NVM in fish
Last active September 20, 2024 17:41
Use NVM in fish
# same as https://github.com/nvm-sh/nvm?tab=readme-ov-file#fish
# but without bass installed
# install nvm as usual, e. g. with "curl ... | bash"
# try it
nvm install 18
node -v # prints Node version 18
mkdir ~/test20; cat 20 >~/test20/.nvmrc
mkdir ~/test22; cat 22 >~/test22/.nvmrc
load_nvm
cd ~/test20