-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install on a clean macOS without git installed #1782
Comments
I'm not sure how this can be addressed; typically the first thing you always have to do (manually) when setting up a new Mac is install the Xcode command line tools. |
I haven't found a method to suppress the GUI dialog asking to install Xcode command line tools, otherwise we can at least escape from that failure without providing useful info :( |
I think that installing those prior to doing anything else - including installing nvm - is just something Mac devs need to know how to do. |
Maybe I can send a PR to just mention that |
I suppose, but i still think it’s something that a Mac dev just needs to know, and I’m not sure why they’d be learning it at the point of installing nvm. |
I'll like to mention that also because we can't properly handle it, we don't know if anyone would install nvm first ;) |
i suppose, sure |
Install
nvm
on a clean macOS will fail as below:It'll also open a dialog to ask about installing Xcode with command line tools or not:
The problem is because the path
/usr/bin/git
is actually the built-in Xcode, sonvm
can findgit
successfully and assumegit
is installed and working.The text was updated successfully, but these errors were encountered: