-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
unable to install nvm #3406
Comments
bash has not been deprecated on Macs, it's just no longer the default shell. What Mac OS version are you using? |
my bad. bash does exist but this isn't working. Sonoma |
I have Sonoma and it works fine. Are you sure you're not doing anything in bashrc or bash_profile that might make the install script not realize it's bash? What does |
/bin/bash export NVM_DIR="$HOME/.nvm" |
is there anything else in those two files? |
no |
what does |
5.9 |
… just that? my command includes three pipe characters |
this is the output |
ah right, in zsh that's expected - what if you run |
ohh , this is the output for that .. |3.2.57(1)-release|| |
hm, ok, that's the same output i get - but given that output, the install script should be working fine. I'm pretty confused. |
Can you try v0.40.1 ? It's possible that some fixes in there will address this. |
Hey I had the same output, on an apple M1, but this might be of interest for you. I had an alias for a command not in use on my system "shift" took me to a directory in my codebase where I was migrating another older different project on a service called shift of course. I noticed that the ls and ls-remote hung but also moved me to that project after [ctrl + c] when I re-aliased that command to something else ls worked again. I didn't source dive the code, but when I write public consumed packages I often declare and unset my commands locally for just that reason, however, that can have some side effects depending on the system so sometimes scoping them with weird namespace name like Anyhow I hope that helps someone! |
Certainly you can override shell builtins, but you also never should. If you override |
Operating system and version:
nvm debug
output:command not. found
nvm ls
output:command not found
How did you install
nvm
?curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
output --
Error: the install instructions explicitly say to pipe the install script to
bash
; please follow themWhat steps did you perform?
What happened?
bash has been depreciated on Mac
What did you expect to happen?
Is there anything in any of your profile files that modifies the
PATH
?the usual instructions as mentioned
The text was updated successfully, but these errors were encountered: