DEV Community

Discussion on: Tips and tricks to set up your Apple M1 for development

Collapse
 
jamiesauve profile image
Jamie Sauve

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.

Collapse
 
cgradwohl profile image
Chris Gradwohl

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!