Skip to content

Instantly share code, notes, and snippets.

@quinndiggity
Forked from antonlvovych/readme
Created July 15, 2017 22:45
Show Gist options
  • Save quinndiggity/eaccc2233920692a1e460466b0faa1b4 to your computer and use it in GitHub Desktop.
Save quinndiggity/eaccc2233920692a1e460466b0faa1b4 to your computer and use it in GitHub Desktop.
NVM on fish shell using bass
# Install NVM manually (https://github.com/creationix/nvm)
# Install bass (https://github.com/edc/bass)
# Add code below to your config.fish
function nvm
bass source ~/.nvm/nvm.sh --no-use ';' nvm $argv
end
nvm use default --silent
# Install last stable node.js
# ⋊> ~ nvm install stable
# Set stable version to default
# ⋊> ~ nvm alias default stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment