Thanks for the article :) I'm trying to set up a Mac Mini M1 as my personal computer and running into some grief. I can follow the steps above to create a Rosetta terminal, and I can install nvm; but the regular iTerm can't find it after that - and if I close the Rosetta terminal and start it up again, it also says nvm isn't a thing. It's like I'm only installing it for the current session or something.
...but if I do install nvm, it says it's already installed, and suddenly it knows which version of node and npm I have installed.
And if I close the terminal, it loses its memory again.
Any idea what's happening?
I have not used iTerm for this article, but I downloaded it and can confirm that it is not working as you have described.
Can you try to use the regular Terminal application that comes with your mac for the nvm installation? After installing nvm with the Terminal application (not iTerm), you should be able to use nvm on the terminal client of your choice.
Let me know if this works!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the article :) I'm trying to set up a Mac Mini M1 as my personal computer and running into some grief. I can follow the steps above to create a Rosetta terminal, and I can install nvm; but the regular iTerm can't find it after that - and if I close the Rosetta terminal and start it up again, it also says nvm isn't a thing. It's like I'm only installing it for the current session or something.
...but if I do install nvm, it says it's already installed, and suddenly it knows which version of node and npm I have installed.
And if I close the terminal, it loses its memory again.
Any idea what's happening?
fwiw, I'm using zsh.
Hey Jamie!
I have not used iTerm for this article, but I downloaded it and can confirm that it is not working as you have described.
Can you try to use the regular Terminal application that comes with your mac for the nvm installation? After installing nvm with the Terminal application (not iTerm), you should be able to use nvm on the terminal client of your choice.
Let me know if this works!