We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
install
1 parent 1875fe8 commit 6cfaedeCopy full SHA for 6cfaede
install.sh
@@ -356,6 +356,12 @@ nvm_do_install() {
356
exit 1
357
fi
358
359
+ if nvm_has xcode-select && [ "$(xcode-select -p >/dev/null 2>/dev/null ; echo $?)" = '2' ] && [ "$(which git)" = '/usr/bin/git' ] && [ "$(which curl)" = '/usr/bin/curl' ]; then
360
+ nvm_echo >&2 'You may be on a Mac, and need to install the Xcode Command Line Developer Tools.'
361
+ # shellcheck disable=SC2016
362
+ nvm_echo >&2 'If so, run `xcode-select --install` and try again. If not, please report this!'
363
+ exit 1
364
+ fi
365
if [ -z "${METHOD}" ]; then
366
# Autodetect install method
367
if nvm_has git; then
0 commit comments