w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
updating NVM Node Version Manager creationix version

Running the install script will attempt to update nvm if it's already installed (link to source):

if [ -d "$NVM_DIR/.git" ]; then
  echo "=> nvm is already installed in $NVM_DIR, trying to update"
  printf "
=> "
  cd "$NVM_DIR" && git pull 2> /dev/null || {
    echo >&2 "Failed to update nvm, run 'git pull' in $NVM_DIR

For example, for the 0.10.0 version:

curl https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | sh

For more information see the readme for nvm: https://github.com/creationix/nvm

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.