nvm/test/installation_node/install with --latest-npm

13 lines
269 B
Bash
Executable File

#!/bin/sh
set -ex
die () { echo "$@" ; exit 1; }
set +e # todo: fix
\. ../../nvm.sh
set -e
NVM_DEBUG=1 nvm install --latest-npm 4.2.2 \
| grep 'Attempting to upgrade to the latest working version of npm...' || die 'did not call through to nvm_install_latest_npm'