Skip to content

Instantly share code, notes, and snippets.

@m-arrieta-r
Forked from antonlvovych/readme
Created June 8, 2017 23:16
Show Gist options
  • Save m-arrieta-r/a5ff598d24f71615f6c605c948dad79d to your computer and use it in GitHub Desktop.
Save m-arrieta-r/a5ff598d24f71615f6c605c948dad79d 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