-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
arch -x86_64 nvm install lts/fermium
returns arch: can't find nvm in PATH
#2389
Comments
I think this may be a duplicate of #2350, somewhat. I don’t know how |
@ljharb I am not sure if problem of |
|
I tried doing Finally what worked for me is duplicating Terminal app, selecting "Open using Rosetta" in get info and then running nvm commands through the duplicated terminal. Edit: It's been a year, I ran into this problem now, found this thread on Google, and realized my own comment above just helped me lol. |
Operating system and version:
Mac OS v11.1 Big Sur
Processor: M1
nvm debug
output:nvm ls
output:How did you install
nvm
?Install script in readme
What steps did you perform?
arch -x86_64 nvm install lts/fermium
to install latest lts.What happened?
It returns arch: can't find nvm in PATH. This shouldnt happen as nvm is in the path. Somehow with the prefix of Rosetta it doesnt work. Even though if you open the iTerm in Rosetta and install it works.
What did you expect to happen?
nvm should take the prefix and install the node version under rosetta instead of restarting the terminal under Rosetta.
Is there anything in any of your profile files that modifies the
PATH
?No
The text was updated successfully, but these errors were encountered: