Answers for "nvm update"

1

Properly upgrade node using nvm

nvm install stable --reinstall-packages-from=current
Posted by: Guest on October-05-2021
2

nvm update node

nvm install latest
Posted by: Guest on June-26-2021
1

update node with nvm

// to see which versions of node you have run:
nvm ls

// example:
// nvm ls
//         v8.10.0
// ->      v8.16.0
//       v10.21.0
//         system
// default -> 8.16.0 (-> v8.16.0)

// in this case use
nvm use 10.21.0

// you can also uninstall and reinstall if you are having issues
// by following the steps in:
// https://stackabuse.com/how-to-uninstall-node-js-from-mac-osx/
Posted by: Guest on November-05-2020
0

nvm update

#!/bin/sh

set -e

cd ~/.nvm

git fetch --tags
TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Checking out tag $TAG..."
git checkout "$TAG"

source ~/.nvm/nvm.sh
Posted by: Guest on December-29-2020

Browse Popular Code Answers by Language